ZONE file

Mokwena Motseto Mokwena.Motseto at postoffice.co.za
Thu May 12 11:38:05 UTC 2005


Hi

Our zone file is too big, and it becomes very difficult to manage it, is
there a way I can separate it into small files, maybe one with A records
and another with CNAME and so on

Mokwena

-----Original Message-----
From: Mark_Andrews at isc.org [mailto:Mark_Andrews at isc.org]=20
Sent: 10 May 2005 16:54
To: Mokwena Motseto
Cc: bind-users at isc.org
Subject: Re: Dual SOA entries=20


> Hi
>=20
> When is start the named I get the messages below, is it also normal
>=20
> s7an81 /tmp # cat syslog.out
> May 10 08:55:11 s7an81 named[282754]: starting BIND 9.2.1 May 10=20
> 08:55:11 s7an81 named[282754]: using 8 CPUs May 10 08:55:11 s7an81=20
> 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:=20
> file not found May 10 08:55:11 s7an81 named[282754]: couldn't add=20
> command channel
> 127.0.0.1#953: file not found
> May 10 08:55:11 s7an81 named[282754]: none:0: open: /etc/rndc.key:=20
> file not found May 10 08:55:11 s7an81 named[282754]: couldn't add=20
> command channel
> ::1#953: file not found

	You havn't run "rndc-confgen -a" or defined a controls clause
	in named.conf.  Named assumes that if a controls clause has
	not been declared then "rndc-confgen -a" has been run and it
	should look for a key in /etc/rndc.key.  Without doing this
	you cannot use rndc to control named.

> May 10 08:55:11 s7an81 named[282754]: no source of entropy found

	Without a source of entropy named will not be able to
	dynamically update secure zones using DSA keys.

> 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:=20
> loaded serial 2005050901 May 10 08:55:11 s7an81 named[282754]: zone=20
> sapo.co.za/IN: loaded serial
> 2005050901
> May 10 08:55:11 s7an81 named[282754]: running
> s7an81 /tmp #  =20
>=20
> Mokwena
>=20
> -----Original Message-----
> From: Mark_Andrews at isc.org [mailto:Mark_Andrews at isc.org]
> Sent: 10 May 2005 01:36
> To: Mokwena Motseto
> Cc: bind-users at isc.org
> Subject: Re: Dual SOA entries
>=20
>=20
> > Hi
> > I am getting the double entry for SOA, I read on some website that=20
> > it is wrong I am supposed to get only one
>=20
> 	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=20
> > > to
>=20
> > > ... "."
> > > $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
>=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