Dual SOA entries

Mark Andrews Mark_Andrews at isc.org
Mon May 9 23:36:17 UTC 2005


> Hi
> I am getting the double entry for SOA, I read on some website that it is
> wrong I am supposed to get only one

	Two SOA record are expected in a AXFR response.  The second SOA
	is how you detect the end of the zone transfer.
 
> Will you please below is the information that I think might be relevant
> 
> 
> > s7an81 /etc/named.data # dig @s7an81.sapo.co.za sapo.co.za axfr | grep
> > SOA
> > sapo.co.za.             3600    IN      SOA     s7an81.sapo.co.za.
> > root.s7an81.sapo.co.za. 2005050801 10800 1800 5184000 2419200
> > sapo.co.za.             3600    IN      SOA     s7an81.sapo.co.za.
> > root.s7an81.sapo.co.za. 2005050801 10800 1800 5184000 2419200
> > 
> > s7an81 /etc/named.data # uname -a
> > AIX s7an81 2 5 0040495A4C00
> > 
> > s7an81 /etc/named.data # hostname
> > s7an81
> > 
> > s7an81 /etc/named.data # oslevel -r
> > 5200-04
> > 
> > s7an81 /etc/named.data # cd /usr/sbin/
> > s7an81 /usr/sbin # ./named -v
> > ./named: continuing without SRC support
> > BIND 9.2.1
> > s7an81 /usr/sbin # cd /etc/     
> > s7an81 /etc # cat named.conf 
> > // generated by named-bootconf.pl
> > 
> > options {
> >         directory "/etc/named.data";
> > };
> > 
> > zone "sapo.co.za" {
> >         type master;
> >         file "sapo.co.za.hosts";
> > };
> > 
> > zone "0.0.127.in-addr.arpa" {
> >         type master;
> >         file "named.local";
> > };
> > 
> > #zone "." {
> > #       type hint;
> > #       file "named.cache";
> > #};
> > 
> > zone "8.165.in-addr.arpa" {
> >         type master;
> >         file "8.165.in-addr.arpa.hosts";
> > };
> > 
> > s7an81 /etc # 
> > s7an81 /etc # cd named.data/
> > s7an81 /etc/named.data # cat named.local 
> > ; setting default domain to ... "."
> > $TTL 3600
> > @               9999999 IN      SOA     s7an81.sapo.co.za
> > root.s7an81.sapo.co.za (
> >                                         2005050801      ; Serial
> >                                         3600            ; Refresh
> >                                         300             ; Retry
> >                                         3600000         ; Expire
> >                                         86400 )         ; Minimum
> >                 9999999 IN      NS      s7an81.sapo.co.za.
> > 1               IN PTR loopback.
> > s7an81 /etc/named.data # cat sapo.co.za.hosts
> > $TTL 3600
> > @  IN   SOA     s7an81.sapo.co.za.       root.s7an81.sapo.co.za.  (
> >                         2005050801      ; yymmddn (serial)
> >                         10800           ; refresh
> >                         1800            ; retry
> >                         5184000         ; expiry
> >                         2419200 )       ; minimum
> >                                 IN      NS      s7an81.sapo.co.za.
> > s7an81                          IN      A       165.8.23.33
> > supertst                        IN      A       165.8.23.32
> > hmwitsd                         IN      A       165.8.11.55
> > node1                           IN      A       165.8.23.21
> > node17                          IN      A       165.8.23.25
> > 
> > s7an81 /etc/named.data # cat 8.165.in-addr.arpa.hosts
> > ; 8.165.in-addr.arpa data file
> > $TTL 3600
> > @       IN      SOA             s7an81.sapo.co.za.
> > root.s7an81.sapo.co.za. (
> >                 2005050801      ; yymmddn
> >                 10800           ; refresh
> >                 1800            ; retry
> >                 3600000         ; expiry
> >                 86400 )         ; minimum
> > 
> > 32.23   IN      PTR     supertst.sapo.co.za.
> > 33.23   IN      PTR     s7an81.sapo.co.za.
> > 55.11   IN      PTR     hmwitsd.sapo.co.za.
> > 21.23   IN      PTR     node1.sapo.co.za.
> > 25.23   IN      PTR     node17.sapo.co.za.
> > 
> > 
> > s7an81 /etc/named.data # 
> 
> 
--
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