RE: [dnsext] Use of DNS SRV records for host selection
"Greg Daley" <gdaley@netstarnetworks.com> Tue, 12 January 2010 03:40 UTC
Return-Path: <owner-namedroppers@ops.ietf.org>
X-Original-To: ietfarch-dnsext-archive@core3.amsl.com
Delivered-To: ietfarch-dnsext-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7EBD73A696C; Mon, 11 Jan 2010 19:40:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.784
X-Spam-Level:
X-Spam-Status: No, score=-105.784 tagged_above=-999 required=5 tests=[AWL=2.515, BAYES_00=-2.599, GB_I_LETTER=-2, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 nuycFp-UhXcV; Mon, 11 Jan 2010 19:40:17 -0800 (PST)
Received: from psg.com (psg.com [147.28.0.62]) by core3.amsl.com (Postfix) with ESMTP id 4DE833A6897; Mon, 11 Jan 2010 19:40:17 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.71 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1NUXRF-000PmA-HU for namedroppers-data0@psg.com; Tue, 12 Jan 2010 03:29:01 +0000
Received: from [203.8.7.220] (helo=mail.syd.netstarnetworks.com) by psg.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <gdaley@netstarnetworks.com>) id 1NUXRC-000Plv-Gh for namedroppers@ops.ietf.org; Tue, 12 Jan 2010 03:28:59 +0000
Received: from sdcmail.netstarnetworks.com ([10.18.193.12]) by mail.syd.netstarnetworks.com (8.12.8/8.12.8) with ESMTP id o0C3SxR7022556; Tue, 12 Jan 2010 14:29:00 +1100
Received: from melmail.netstarnetworks.com ([10.20.193.13]) by sdcmail.netstarnetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Jan 2010 14:28:40 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [dnsext] Use of DNS SRV records for host selection
Date: Tue, 12 Jan 2010 14:28:38 +1100
Message-ID: <6983BF97BFC24D4EA551F140712329180140443A@melmail.netstarnetworks.com>
In-Reply-To: <6f5b6fe71001111535u2ae37a28p7e1c7c4cc2f19b7a@mail.gmail.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [dnsext] Use of DNS SRV records for host selection
Thread-Index: AcqTFssC6hJns5sEQ5uyqWVHTA4N4AAAD62w
References: <6983BF97BFC24D4EA551F14071232918014042C2@melmail.netstarnetworks.com> <6f5b6fe71001110748t2646d8f1te95e024afd095648@mail.gmail.com> <6983BF97BFC24D4EA551F14071232918014043C4@melmail.netstarnetworks.com> <6f5b6fe71001111535u2ae37a28p7e1c7c4cc2f19b7a@mail.gmail.com>
From: Greg Daley <gdaley@netstarnetworks.com>
To: Colm MacCárthaigh <colm@allcosts.net>, namedroppers@ops.ietf.org
X-OriginalArrivalTime: 12 Jan 2010 03:28:40.0174 (UTC) FILETIME=[559430E0:01CA9337]
Sender: owner-namedroppers@ops.ietf.org
Precedence: bulk
List-ID: <namedroppers.ops.ietf.org>
List-Unsubscribe: To unsubscribe send a message to namedroppers-request@ops.ietf.org with
List-Unsubscribe: the word 'unsubscribe' in a single line as the message text body.
List-Archive: <http://ops.ietf.org/lists/namedroppers/>
Hi Colm, >> The SRV record contains only a Target field, which is required to >> have a host lookup (such as A or AAAA), not allowed to be an alias >> (CNAME or DNAME). > > I merely meant if this pattern was valid; > > question; _foo._host.example.com IN SRV > answer: _foo._host.example.com IN CNAME _bar._host.example.com > > ... > > _bar._host.example.com IN SRV > > I think it should be, with regular CNAME/DNAME behaviour applying ... > but it's why I wondered if "negative response" should imply "zero > answers". It was just illustrative. I believe for the initial response it would be possible to use CNAME/DNAME, but would there then be a (restarted) SRV lookup on the canonical name? S5.1 of DNAME-bis specification identifies that the DNAME substitution occurs before specific (MX,SRV,PTR) records: http://tools.ietf.org/html/draft-ietf-dnsext-rfc2672bis-dname-18 For CNAME RFC2181 S10.3 is more explicit about this, where it discusses MX and NS records. CNAME is included in the response with no additional section processing, with the query potentially being restarted (with the same QTYPE, and the CNAME substituted). I don't think that these issues have been widely examined because for service (not host) SRV records your would not typically have a (non-SRV) CNAME response. I would guess that this CNAME behaviour is valid as well, although in absence of guidance (other than that for the Target field of RFC2782), people have been assuming that no CNAME record can be used in response to SRV queries: https://issues.asterisk.org/view.php?id=6314 >> Thanks, as you point out, the description for \X states that "\." >> can be placed in a label. >> >> I was using the preferred syntax from S2.3.1 which indicates >> alphanumeric and hyphens compose labels: >> >> <domain> ::= <subdomain> | " " >> <subdomain> ::= <label> | <subdomain> "." <label> >> <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ] >> <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str> >> <let-dig-hyp> ::= <let-dig> | "-" >> >> I will try to stick to hostname/domainname in descriptions. >> >> There would seem to be a divergence then from having short >> unstructured Service labels, as are currently defined for SRV, and the >> hostname (label) element which could contain embedded "." >> >> This only matters where the host SRV record is required to take a >> particular structure with underscores for the _Protocol element. > > I just think it will be easier for implementors if when passed; > > "foo\.bar.example.com" > > that the the lookup is for; > > _foo\.bar._host.example.com > > rather than > > _foo._host.bar.example.com > > it's one boundary case with the existing language. DNS resolvers and > clients can typically avoid text processing, but as-defined, the > language of the I-D would require string manipulation. I will make sure that the text is updated. Greg
- [dnsext] Use of DNS SRV records for host selection Greg Daley
- Re: [dnsext] Use of DNS SRV records for host sele… Colm MacCárthaigh
- RE: [dnsext] Use of DNS SRV records for host sele… Greg Daley