Received: from localhost (daemon@localhost) by CS.UTK.EDU with SMTP (cf v2.9s-UTK) id OAA09735; Fri, 4 Oct 1996 14:05:43 -0400 Received: by CS.UTK.EDU (bulk_mailer v1.7); Fri, 4 Oct 1996 14:04:45 -0400 Received: from techfac.TechFak.Uni-Bielefeld.DE (techfac.TechFak.Uni-Bielefeld.DE [129.70.132.100]) by CS.UTK.EDU with SMTP (cf v2.9s-UTK) id OAA09561; Fri, 4 Oct 1996 14:04:18 -0400 Received: from lupine.TechFak.Uni-Bielefeld.DE by techfac.TechFak.Uni-Bielefeld.DE id AA28528; Fri, 4 Oct 1996 19:04:09 +0100 Received: by lupine.techfak.uni-bielefeld.de (5.x/tp.29.0890) id AA26204; Fri, 4 Oct 1996 20:04:08 +0200 Message-Id: <9610041804.AA26204@lupine.techfak.uni-bielefeld.de> To: drums@cs.utk.edu Subject: Re: cname lookup effort In-Reply-To: Your message of "04 Oct 1996 16:07:30 -0000." <19961004160730.19279.qmail@koobera.math.uic.edu> X-Organization: Uni Bielefeld, Technische Fakultaet X-Phone: +49 521 106 2902 Date: Fri, 04 Oct 1996 20:04:05 +0200 From: Peter Koch > For a MAIL command, there's no reason for the client to be interested in > anything other than the CNAME result. 1) CNAME query succeeds 2) CNAME query fails a) NXDOMAIN b) NOERROR (1) and (2a) indicate violations of RFC1123 but (2b) may or may not, depending on what RRs really exist for the domain name in question. Take the following example: cs.nowhere.edu owns neither A nor MX RRs. Upon receiving a "MAIL FROM: juser@cs.nowhere.edu" you check for a CNAME for "cs.nowhere.edu" and the answer is case (2b). However, the mail address is invalid, so nothing is won. If the client is trying to verify the input it should do the complete work. The main requirement is that the domain name must be an FQDN that "identifies a host directly or is an MX name", so for a test these two cases should be checked for. Then the answer section of the DNS response can be searched for CNAME RRs. The CNAME ban is marginal. > point. The question is whether, _given_ that DNS has records violating > this common assumption, the client is violating RFC 1123. Does ``cannot > be a CNAME'' mean ``cannot be a domain with exactly one record, namely a > CNAME''? The mail system is not supposed to be DNS debugging tool. Detecting or preventing those violations should be left to the DNS, so one should be allowed to trust a CNAME being unique. This will not violate the robustness principle. -Peter