Dual SOA entries
David Botham
DBotham at OptimusSolutions.com
Tue May 10 18:19:28 UTC 2005
Please reply and post to the list, not directly to recipients... See
below...
bind-users-bounce at isc.org wrote on 05/10/2005 04:11:55 AM:
> Hi
>
> When is start the named I get the messages below, is it also normal
>
> s7an81 /tmp # cat syslog.out=20
> May 10 08:55:11 s7an81 named[282754]: starting BIND 9.2.1
Upgrade.
> May 10 08:55:11 s7an81 named[282754]: using 8 CPUs
> May 10 08:55:11 s7an81 named[282754]: loading configuration from
> '/etc/named.conf'
> May 10 08:55:11 s7an81 named[282754]: listening on IPv4 interface en1,
> 165.8.23.33#53
> May 10 08:55:11 s7an81 named[282754]: listening on IPv4 interface lo0,
> 127.0.0.1#53
> May 10 08:55:11 s7an81 named[282754]: none:0: open: /etc/rndc.key: file
> not found
named cannot find the file rndc.key. It contains the TSIG key used to
secure the rndc socket. If you are running in a chroot environment make
sure this file is here: /<your.chroot.path>/etc/rndc.key
> May 10 08:55:11 s7an81 named[282754]: couldn't add command channel
> 127.0.0.1#953: file not found
Without the key file, no rndc command channel.
> May 10 08:55:11 s7an81 named[282754]: none:0: open: /etc/rndc.key: file
> not found
> May 10 08:55:11 s7an81 named[282754]: couldn't add command channel
> ::1#953: file not found
More of the same.
> May 10 08:55:11 s7an81 named[282754]: no source of entropy found
named could not find /dev/random. If you are in a chroot environment you
will need to create a /dev/random device in the chroot's dev directory.
See the following BIND chroot howto:
http://www.losurs.org/docs/howto/Chroot-BIND.html
It is a little dated, but, works pretty well.
hth,
Dave...
> May 10 08:55:11 s7an81 named[282754]: zone 0.0.127.in-addr.arpa/IN:
> loaded serial 2005050801
> May 10 08:55:11 s7an81 named[282754]: zone 8.165.in-addr.arpa/IN: loaded
> serial 2005050901
> May 10 08:55:11 s7an81 named[282754]: zone sapo.co.za/IN: loaded serial
> 2005050901
> May 10 08:55:11 s7an81 named[282754]: running
> s7an81 /tmp # =20
>
> Mokwena
>
> -----Original Message-----
> From: Mark_Andrews at isc.org [mailto:Mark_Andrews at isc.org]=20
> Sent: 10 May 2005 01:36
> To: Mokwena Motseto
> Cc: bind-users at isc.org
> Subject: Re: Dual SOA entries=20
>
>
> > Hi
> > I am getting the double entry for SOA, I read on some website that
it=20
> > 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.
> =20
> > Will you please below is the information that I think might be=20
> > relevant
> >=20
> >=20
> > > s7an81 /etc/named.data # dig @s7an81.sapo.co.za sapo.co.za axfr |=20
> > > 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
> > >=20
> > > s7an81 /etc/named.data # uname -a
> > > AIX s7an81 2 5 0040495A4C00
> > >=20
> > > s7an81 /etc/named.data # hostname
> > > s7an81
> > >=20
> > > s7an81 /etc/named.data # oslevel -r
> > > 5200-04
> > >=20
> > > 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/ =20
> > > s7an81 /etc # cat named.conf
> > > // generated by named-bootconf.pl
> > >=20
> > > options {
> > > directory "/etc/named.data"; };
> > >=20
> > > zone "sapo.co.za" {
> > > type master;
> > > file "sapo.co.za.hosts";
> > > };
> > >=20
> > > zone "0.0.127.in-addr.arpa" {
> > > type master;
> > > file "named.local";
> > > };
> > >=20
> > > #zone "." {
> > > # type hint;
> > > # file "named.cache";
> > > #};
> > >=20
> > > zone "8.165.in-addr.arpa" {
> > > type master;
> > > file "8.165.in-addr.arpa.hosts"; };
> > >=20
> > > 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
> > >=20
> > > s7an81 /etc/named.data # cat 8.165.in-addr.arpa.hosts ;=20
> > > 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
> > >=20
> > > 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.
> > >=20
> > >=20
> > > s7an81 /etc/named.data #
> >=20
> >=20
> --
> 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