problem delegating zones
Mark Andrews
Mark_Andrews at isc.org
Mon May 9 23:43:14 UTC 2005
> Helo,
> I have some problems delegating a zone with BIND 9.2.2.
Upgrade 9.2.2 is old.
> This is the content of my file /etc/named.conf
> zone "obda.home" in {
> file "master/obda.home.zone";
> type master;
> };
>
> This is the content of the file /var/lib/named/obda.home.zone
> $TTL 2W
> @ IN SOA obda.home. root (
> 200505061 ; serial
> 2D ; refresh
> 4H ; retry
> 6W ; expiry
> 1W ) ; minimum
>
> IN NS suse90
> IN A 192.168.0.3
> support IN NS debian1.support.obda.home.
> debian1.support IN A 192.168.0.140
>
> Suse90 IN A 192.168.0.3
> pc1 IN A 192.168.0.75
> router IN A 192.168.0.1
>
> When I initiate named, I do not get any errormessages in var/log/messages
> With DIG I get the folowing results:
>
> ; <<>> DiG 9.2.2 <<>> @127.0.0.1 obda.home. NS
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42267
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
> ;; QUESTION SECTION:
> ;obda.home. IN NS
>
> ;; ANSWER SECTION:
> obda.home. 1209600 IN NS suse90.obda.home.
>
> ;; ADDITIONAL SECTION:
> suse90.obda.home. 1209600 IN A 192.168.0.3
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Fri May 6 11:05:04 2005
> ;; MSG SIZE rcvd: 64
>
> It is rather strange (for me) that I can't see a reference tot the NS-record
> "debian1.support.obda.home."
> I've put this record in the zone-file, but it doesn't seem to work.
>
> <<>> DiG 9.2.2 <<>> @127.0.0.1 obda.home. SOA
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8599
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
>
> ;; QUESTION SECTION:
> ;obda.home. IN SOA
>
> ;; ANSWER SECTION:
> obda.home. 1209600 IN SOA obda.home. root.obda.home. 200505061 172800 14400
> 3628800 604800
>
> ;; AUTHORITY SECTION:
> obda.home. 1209600 IN NS suse90.obda.home.
>
> ;; ADDITIONAL SECTION:
> suse90.obda.home. 1209600 IN A 192.168.0.3
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
>
> ;; WHEN: Fri May 6 11:05:12 2005
> ;; MSG SIZE rcvd: 105
>
> Still no NS-record tot the support-subzone !
>
>
> ; <<>> DiG 9.2.2 <<>> @127.0.0.1 support.obda.home.
> ;; global options: printcmd;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34300
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;support.obda.home. IN A
>
> ;; Query time: 2042 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
>
> ;; WHEN: Fri May 6 11:06:44 2005
> ;; MSG SIZE rcvd: 35
>
> In the end, I get an NXDOMAIN-error when I try to "see" the subzone.
> What am I doing wrong here?
Make a non-recursive query to see the delegation information.
dig +norec support.obda.home @127.0.0.1
P.S. I helps to have the zone being delegated to setup *before*
the delegation is made.
>
> Thx,
>
> Piet
>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list