bind redirecting NS

Charles Bodley bodley at tflogic.com
Thu Dec 27 20:27:28 UTC 2001


New zone file.

$TTL 3600
$ORIGIN tflogic.com.
internal        IN      SOA     internal.tflogic.com.
hostmaster.tflogic.com. (
                        2001121701 ; serial
                        43200 ; refresh
                        7200 ; retry
                        1209600 ; expire
                        3600 ; default_ttl
                        )
internal        IN      NS      blizzard.cyberset.com.
internal        IN      A       10.1.2.17
$ORIGIN internal.tflogic.com.
localhost       IN      A       127.0.0.1
users           IN      A       10.0.0.1
tf-pdc          IN      A       10.1.2.1
tf-pdc                  NS      tf-pdc
tf-bb           IN      A       10.1.2.52

Restarted named after making recommended change. Dig still cannot resolve
it.

dig habibi.tf-pdc.internal.tflogic.com

; <<>> DiG 9.1.0 <<>> habibi.tf-pdc.internal.tflogic.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3457
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;habibi.tf-pdc.internal.tflogic.com. IN A

;; AUTHORITY SECTION:
tf-pdc.internal.tflogic.com. 3600 IN    SOA     tf-pdc.internal.tflogic.com.
hostmaster.tflogic.com. 2001082499 43200 7200 1209600 3600

;; Query time: 6 msec
;; SERVER: 10.1.2.17#53(10.1.2.17)
;; WHEN: Thu Dec 27 15:26:51 2001
;; MSG SIZE  rcvd: 99


-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Barry Margolin
Sent: Thursday, December 27, 2001 1:39 PM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Re: bind redirecting NS


In article <a0fkcs$g1f at pub3.rc.vix.com>,
Charles Bodley <bodley at tflogic.com> wrote:
>
>While setting up a new Microsoft with active directory I read that it needs
>to be in charge of it's dns. I let it think it was in charge of
>*.tf-pdc.internal.tflogic.com but I can't seem to set up my zone roght so
>that queries to bind are forwarded to the tf-pdc box. here is the zone file
>I am trying to use. Everything is working accept the tf-pdc part
>
>[root at blizzard /root]# cat /var/named/db.internal_tflogic_com
>$TTL 3600
>$ORIGIN tflogic.com.
>internal        IN      SOA     internal.tflogic.com.
>hostmaster.tflogic.com. (
>                        2001121701 ; serial
>                        43200 ; refresh
>                        7200 ; retry
>                        1209600 ; expire
>                        3600 ; default_ttl
>                        )
>internal        IN      NS      blizzard.cyberset.com.
>internal        IN      A       10.1.2.17
>$ORIGIN internal.tflogic.com.
>localhost       IN      A       127.0.0.1
>users           IN      A       10.0.0.1
>webhost1        IN      A       10.0.0.103
>tf-pdc          IN      A       10.1.2.1
>
>$ORIGIN tf-pdc.internal.tflogic.com

You need a "." at the end of the name.  Otherwise the origin gets appended,
so it's treated as tf-pdc.internal.tflogic.com.internal.tflogic.com.

>        NS      10.1.2.1

NS records must point to a *name*, not an address.  Change that to:

         NS      tf-pdc.internal.tflogic.com.

Or get rid of the $ORIGIN line entirely and use:

tf-pdc   NS      tf-pdc

--
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the
group.





More information about the bind-users mailing list