Re: [dhcwg] Re: WG last call on draft-ietf-dhc-dhcpv6-opt-dnsconfig-02.txt

Robert Elz <kre@munnari.OZ.AU> Fri, 21 February 2003 13:55 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA29475 for <dhcwg-archive@odin.ietf.org>; Fri, 21 Feb 2003 08:55:51 -0500 (EST)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id h1LE2tk24199 for dhcwg-archive@odin.ietf.org; Fri, 21 Feb 2003 09:02:55 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h1LE2tp24196 for <dhcwg-web-archive@optimus.ietf.org>; Fri, 21 Feb 2003 09:02:55 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA29468 for <dhcwg-web-archive@ietf.org>; Fri, 21 Feb 2003 08:55:20 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h1LE1Lp24165; Fri, 21 Feb 2003 09:01:21 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h1LE0Yp24107 for <dhcwg@optimus.ietf.org>; Fri, 21 Feb 2003 09:00:34 -0500
Received: from ratree.psu.ac.th (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA29426 for <dhcwg@ietf.org>; Fri, 21 Feb 2003 08:52:58 -0500 (EST)
Received: from delta.cs.mu.OZ.AU (delta.coe.psu.ac.th [172.30.0.98]) by ratree.psu.ac.th (8.11.6/8.11.6) with ESMTP id h1LDuSd14961; Fri, 21 Feb 2003 20:56:28 +0700 (ICT)
Received: from munnari.OZ.AU (localhost [127.0.0.1]) by delta.cs.mu.OZ.AU (8.11.6/8.11.6) with ESMTP id h1LDuCo24076; Fri, 21 Feb 2003 20:56:12 +0700 (ICT)
From: Robert Elz <kre@munnari.OZ.AU>
To: Ralph Droms <rdroms@cisco.com>
cc: dhcwg@ietf.org, ipng@sunroof.eng.sun.com, namedroppers@ops.ietf.org
Subject: Re: [dhcwg] Re: WG last call on draft-ietf-dhc-dhcpv6-opt-dnsconfig-02.txt
In-Reply-To: <4.3.2.7.2.20030221074927.03e89ed8@funnel.cisco.com>
References: <4.3.2.7.2.20030221074927.03e89ed8@funnel.cisco.com> <Pine.LNX.4.44.0302210820240.20008-100000@netcore.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 21 Feb 2003 20:56:12 +0700
Message-ID: <24074.1045835772@munnari.OZ.AU>
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Id: <dhcwg.ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>

    Date:        Fri, 21 Feb 2003 07:56:20 -0500
    From:        Ralph Droms <rdroms@cisco.com>
    Message-ID:  <4.3.2.7.2.20030221074927.03e89ed8@funnel.cisco.com>

  | Shouldn't the host receive the same answer to a DNS query, regardless of 
  | the resolver to which the query is sent?  If so, the order in which 
  | resolvers are used by the host shouldn't matter.

It shouldn't matter to the answer (but those who insist on shoving 2faced
DNS implementations down everyone's throats can cause problems).

It can matter to the workability - often the first resolver listed is
the one that should be used, the others are there for backup purposes
only, and won't necessarily respond as quickly (they may have smaller
cache capacity, slower net links, slower CPU, ...).

All this is fine as a backup when the primary resolver happens to be
broken, but you wouldn't want to be using it just because you happened
to pick the wrong address from a list.

  | What is done today in the deployed IPv6 world in a host that has both an 
  | IPv6 stack and an IPv4 stack, and a manually configured list of DNS 
  | resolvers?

Just about everyone uses IPv4 alone for their resolvers.

  | Is it allowed to mix together IPv6 and IPv4 addresses for resolvers?

Allowed, yes, of course, nothing disallows it.

  | Is that configuration actually used?

Probably not at the minute.

  | Does the host have two lists: one for IPv6 and one for IPv4?

This would make no sense.   The host (or application in most cases)
has one resolver (stub).  When called, all that exists is a domain name,
there's no particular v4 or v6 preference.  The resolver stub needs to
contact its back end resolver to resolve the address, whether v4 or v6
is used for this will depend entirely upon what addresses have been
configured for the back end resolver (cache).  It certainly isn't
influenced by the nature of the query, or by what use is intended
for the results of the query.

  | Suppose the host only has an IPv6 stack but both IPv6 and IPv4 addresses in 
  | its list of DNS resolvers?

The v4 address would be useless, just like any other (patently) bogus
address that is configured.   Ignoring that one would be easy.

  | I'm hoping we can get some real-world deployment experience injected into 
  | the conversation...

Since just about no-one is using v6 in their stub resolvers (just a few
who will no doubt now speak up...) this might be difficult.


On the issue - I think having just v6 addresses in the DHCPv6 option is
fine.

How the host actually mixes addresses it gets from DHCPv6 and DHCPv4, and
other mechanisms is an interesting problem to which we don't yet have
any real answers.   This is an area where we probably should just say
nothing, and wait to see how implementations actually react.

But rather than mixing v6 & v4 addresses in one response (as you imply, v6
addresses are no use to a node with only v4, and v4 addresses no use to
a node with only v6) it might be better to explicitly add a "priority of
this DNS cache" field along with each address.  This allows the implicit
"this one is better than that one" based upon ordering to be done away with.
What's more, if we were to pick a middling well known priority that would
implicitly be applied to addresses in a v4 response it also allows v6 to
be placed before, or after, v4 addresses in nodes that support both (or
even some before, and some after).   It doesn't allow v4 addresses to be
ranked other than by their implicit ordering, nor for v6 addresses to be
inserted in the middle of the v4 list, but we can't have everything (and
I doubt anyone wants to go changing the v4 DNS cache list option now).

kre

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg