Re: Should a nameserver know about itself?

Nathan Jones <nathanj@optimo.com.au> Wed, 09 May 2001 08:02 UTC

Received: from nic.cafax.se ([192.71.228.17]) by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA01614 for <dnsop-archive@odin.ietf.org>; Wed, 9 May 2001 04:02:24 -0400 (EDT)
Received: by nic.cafax.se (8.12.0.Beta5/8.12.0.Beta5) id f497eASh027040 for dnsop-outgoing; Wed, 9 May 2001 09:40:10 +0200 (MEST)
Received: from nara.off.connect.com.au (nara.off.connect.com.au [192.94.41.40]) by nic.cafax.se (8.12.0.Beta7/8.12.0.Beta5) with ESMTP id f497e3Lt027035 for <dnsop@cafax.se>; Wed, 9 May 2001 09:40:09 +0200 (MEST)
Received: (from njones@localhost) by nara.off.connect.com.au id RAA29568 (8.8.8/IDA-1.7); Wed, 9 May 2001 17:39:50 +1000 (EST)
Message-ID: <20010509173949.R23188@connect.com.au>
Date: Wed, 09 May 2001 17:39:49 +1000
From: Nathan Jones <nathanj@optimo.com.au>
To: Bruce Campbell <bruce.campbell@apnic.net>, dnsop@cafax.se
Subject: Re: Should a nameserver know about itself?
References: <Pine.BSF.4.21.0105091625580.43413-100000@julubu.staff.apnic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Mutt 0.93.2i
In-Reply-To: <Pine.BSF.4.21.0105091625580.43413-100000@julubu.staff.apnic.net>; from Bruce Campbell on Wed, May 09, 2001 at 04:33:11PM +1000
Sender: owner-dnsop@cafax.se
Precedence: bulk

On Wed, May 09, 2001 at 04:33:11PM +1000, Bruce Campbell wrote:
>Is the assumption that a nameserver should have information about itself
>correct?

I'm not aware of such a requirement, even though it sounds like a
good thing for a host to know.

Here's a scenario that I think is valid, in which a nameserver
wouldn't know about itself:

Foo use ns1 and ns2 for their own domain, but use dnshost1 and
dnshost2 for their customers.

foo.example.            IN  NS   ns1.foo.example.
foo.example.            IN  NS   ns2.foo.example.
ns1.foo.example.        IN  A    192.168.1.1
ns2.foo.example.        IN  A    192.168.1.2
dnshost1.foo.example.   IN  A    192.168.2.3
dnshost2.foo.example.   IN  A    192.168.2.4

Bar is a customer of Foo:

bar.example.       IN  NS   dnshost1.foo.example.
bar.example.       IN  NS   dnshost2.foo.example.

dnshost1 and dnshost2 are authoritative only nameservers
(no recursion).

When a delegation request is lodged for bar.example., your script
queries dnshost1 for it's own A record and gets a referral to either
the root servers or the example. servers, since it does not host
foo.example. and does not offer recursive resolution.

--
nathanj