Re: [dnsext] we need help to make names the same, was draft-yao-dnsext-identical-resolution-02 comment

Tony Finch <dot@dotat.at> Wed, 16 February 2011 11:55 UTC

Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A7783A6CA7 for <dnsext@core3.amsl.com>; Wed, 16 Feb 2011 03:55:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2x6EkPug1Ljy for <dnsext@core3.amsl.com>; Wed, 16 Feb 2011 03:55:31 -0800 (PST)
Received: from ppsw-51.csi.cam.ac.uk (ppsw-51.csi.cam.ac.uk [131.111.8.151]) by core3.amsl.com (Postfix) with ESMTP id 63E453A6E07 for <dnsext@ietf.org>; Wed, 16 Feb 2011 03:55:31 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:33740) by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:25) with esmtpa (EXTERNAL:fanf2) id 1PpfzB-0005MY-WL (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 16 Feb 2011 11:55:57 +0000
Received: from fanf2 (helo=localhost) by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local-esmtp id 1PpfzB-000849-0P (Exim 4.67) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 16 Feb 2011 11:55:57 +0000
Date: Wed, 16 Feb 2011 11:55:57 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: John Levine <johnl@iecc.com>
In-Reply-To: <20110216032120.43474.qmail@joyce.lan>
Message-ID: <alpine.LSU.2.00.1102161143180.5244@hermes-1.csi.cam.ac.uk>
References: <20110216032120.43474.qmail@joyce.lan>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Cc: dnsext@ietf.org
Subject: Re: [dnsext] we need help to make names the same, was draft-yao-dnsext-identical-resolution-02 comment
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Feb 2011 11:55:36 -0000

On Wed, 16 Feb 2011, John Levine wrote:
>
> It would not be absurd to argue that the most reasonable way to solve
> the provisioning issues is for the SMTP and HTTP servers to ask the
> DNS what the canonical name for an otherwise unknown name is, so those
> servers are just provisioned with the canonical name and an "allow
> variants" flag.

It used to be the case that SMTP servers would rewrite domains in
addresses by replacing a CNAME owner with its target. See RFC 1123 section
5.2.2. This requirement no longer exists but there is still code out there
that supports it. I think it would be quite reasonable to add a feature
for optional cname-based canonicalization to an MTA. (You can probably do
it now using Exim's configuration language, though it'll probably be a bit
ugly.)

There is also some HTTP server code out there that hooks into the DNS for
server name canonicalization - see Apache's UseCanonicalName DNS option,
which is my fault. It uses reverse DNS lookups (it was designed for
IP-based virtual hosting) but I don't think it would be hard to do
something similar based on CNAME records.

Note that server features like this are nice to have but not absolutely
necessary.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.