BIND help please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am setting up a test domain to learn bind,  and how it,s working.

The master domain is
bbb.ttt.domene 10.11.12.13

the child domain
ftp.bbb.ttt.domene 10.11.55.77

The thing I don't understand is, why don't the query report additional 
info (ip address)?

Her is two queries(the first the one that troubles me), cut of 
named.conf, test of zone file, the zone file and cut from log file.


# dnsq a www.ftp.bbb.ttt.domene 10.11.12.13
1 www.ftp.bbb.ttt.domene:
92 bytes, 1+0+1+0 records, response, authoritative, nxdomain
query: 1 www.ftp.bbb.ttt.domene
authority: ftp.bbb.ttt.domene 86400 SOA a.ns.ftp.bbb.ttt.domene 
hostmaster.bbb.ttt.domene 2005101301 10800 3600 3600000 86400

# dnsq a www.bbb.ttt.domene 10.11.55.77
1 www.bbb.ttt.domene:
87 bytes, 1+1+1+1 records, response, authoritative, noerror
query: 1 www.bbb.ttt.domene
answer: www.bbb.ttt.domene 172800 A 10.11.100.200
authority: bbb.ttt.domene 172800 NS a.ns.bbb.ttt.domene
additional: a.ns.bbb.ttt.domene 172800 A 10.11.12.13

# named-checkzone ftp.bbb.ttt.domene pz/ftp.bbb.ttt.domene
zone ftp.bbb.ttt.domene/IN: loaded serial 2005101301
OK

named.conf (cut out)
zone "bbb.ttt.domene" {
         type master;
         file "pz/bbb.ttt.domene";
};
zone "ftp.bbb.ttt.domene" {
         type master;
         file "pz/ftp.bbb.ttt.domene";
};



$TTL 172800
$ORIGIN ftp.bbb.ttt.domene.

@       IN      SOA     a.ns.ftp.bbb.ttt.domene. 
hostmaster.bbb.ttt.domene.      (

                         2005101301      ; Serial
                         10800           ; Refresh
                         3600            ; Retry
                         3600000         ; Expire
                         86400 )         ; Negative TTL


                 NS      a.ns
                 NS      dns.ttt.domene.

a.ns            A       10.11.55.77


Oct 13 11:45:44 sandsengen named[3385]: starting BIND 9.2.4 -u named
Oct 13 11:45:44 sandsengen named[3385]: using 1 CPU
Oct 13 11:45:44 sandsengen named: named oppstart succeeded
Oct 13 11:45:44 sandsengen named[3385]: loading configuration from 
'/etc/named.conf'
Oct 13 11:45:44 sandsengen named[3385]: listening on IPv4 interface 
eth0:0, 10.11.12.13#53
Oct 13 11:45:44 sandsengen named[3385]: listening on IPv4 interface 
eth0:1, 10.11.55.77#53
Oct 13 11:45:44 sandsengen named[3385]: command channel listening on 
127.0.0.1#953
Oct 13 11:45:44 sandsengen named[3385]: zone 11.10.in-addr.arpa/IN: 
loaded serial 2003100501
Oct 13 11:45:44 sandsengen named[3385]: zone 0.0.127.in-addr.arpa/IN: 
loaded serial 2003100501
Oct 13 11:45:44 sandsengen named[3385]: zone bbb.ttt.domene/IN: loaded 
serial 2003100501
Oct 13 11:45:44 sandsengen named[3385]: zone ftp.bbb.ttt.domene/IN: 
loaded serial 2005101301
Oct 13 11:45:44 sandsengen named[3385]: zone localhost/IN: loaded serial 
2003100501
Oct 13 11:45:44 sandsengen named[3385]: running
Oct 13 11:45:44 sandsengen named[3385]: zone ftp.bbb.ttt.domene/IN: 
sending notifies (serial 2005101301)

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux