Re: SRV records - when?

Peter Koch <pk@TechFak.Uni-Bielefeld.DE> Sat, 09 February 2002 16:36 UTC

Received: from nic.cafax.se (nic.cafax.se [192.71.228.17]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA17140 for <dnsop-archive@odin.ietf.org>; Sat, 9 Feb 2002 11:36:56 -0500 (EST)
Received: from nic.cafax.se (localhost [127.0.0.1]) by nic.cafax.se (8.12.2/8.12.2) with ESMTP id g19GCCOh005952 for <dnsop-outgoing@nic.cafax.se>; Sat, 9 Feb 2002 17:12:12 +0100 (MET)
Received: from localhost (localhost [[UNIX: localhost]]) by nic.cafax.se (8.12.2/8.12.2/Submit) id g19GCCtH005951 for dnsop-outgoing; Sat, 9 Feb 2002 17:12:12 +0100 (MET)
X-Authentication-Warning: nic.cafax.se: majordom set sender to owner-dnsop@cafax.se using -f
Received: from gemma.TechFak.Uni-Bielefeld.DE (gemma.TechFak.Uni-Bielefeld.DE [129.70.136.103]) by nic.cafax.se (8.12.2/8.12.2) with ESMTP id g19GCAOh005946 for <dnsop@cafax.se>; Sat, 9 Feb 2002 17:12:11 +0100 (MET)
Received: from grimsvotn.TechFak.Uni-Bielefeld.DE (grimsvotn.TechFak.Uni-Bielefeld.DE [129.70.137.40]) by gemma.TechFak.Uni-Bielefeld.DE (8.9.1/8.9.1/TechFak/pk+ro20010720) with SMTP id RAA21196; Sat, 9 Feb 2002 17:12:07 +0100 (MET)
Received: from localhost by grimsvotn.TechFak.Uni-Bielefeld.DE (SMI-8.6/pk19971205) id RAA21043; Sat, 9 Feb 2002 17:12:06 +0100
Message-Id: <200202091612.RAA21043@grimsvotn.TechFak.Uni-Bielefeld.DE>
To: Mark.Andrews@isc.org
Cc: dnsop@cafax.se, Thor Kottelin <thor@anta.net>
Subject: Re: SRV records - when?
In-reply-to: Your message of "Sat, 09 Feb 2002 12:48:14 +1100." <200202090148.g191mEs09924@drugs.dv.isc.org>
X-Organization: Uni Bielefeld, Technische Fakultaet
X-Phone: +49 521 106 2902
Date: Sat, 09 Feb 2002 17:12:06 +0100
From: Peter Koch <pk@TechFak.Uni-Bielefeld.DE>
Sender: owner-dnsop@cafax.se
Precedence: bulk

Hi Mark,

> 	draft-andrews-http-srv-01.txt is available

nice draft. Wonder what the impact on larger name servers would look like,
especially during transition.

In section 2 you give this example (considered dnsop relevant):

      Non-default port specified:

         URI:      http://example.com:8080/
         SRV RR:   _http._tcp.example.com. SRV   10 1 80 host2.example.com.
         CNAME RR: example.com.            CNAME host1.example.com.
         A RRs:    host1.example.com.      A     10.0.0.1
                   host2.example.com.      AAAA  1080::8:800:200C:417A

      Connect to: 10.0.0.1 port 8080

While formally "example.com" need not be the name of a zone, in real life it
is and that's the expectation of the average DNS user, even emphasized by
the phrase "you are example.com" introducing the example in section 3.
So, this CNAME RR will be in clear conflict with SOA/NS RRs, a situation
you correctly declare "illegal" in an earlier paragraph. Unfortunately
cases like this happen "out there" every day and render the zone unusable.
So I'd rather see a warning here - or the CNAME RR altered, since it's not
necessary in this constellation. Instead it's worth another example showing
explicitly why SRV based solutions work where CNAME won't.

While at it: I'd probably mention that the SRV processing will have no
influence on what's sent in the http "Host:" header. 

Finally, what is the length of a "session"? If it is predetermined by the TTL
(actually which? the SRV's or the A/AAAA RRs'?), would this imply restrictions
on how to set the TTL values?

-Peter