zonefile migration from 8.2.3 to 9.1.1rc4 -working example required

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Tue Mar 13 22:19:55 UTC 2001


	Firstly please re-read the man page for named-checkzone as
	you are not using it correctly.

e.g.
	named-checkzone 0.0.127.in-addr.arpa /var/named-9.1.1rc4/0.0.127.zone

	If you have legal master files already the only change you may
	need to make is to add a $TTL directive to specify the default
	TTL if you havn't already done it.  Replace 1234567 with an
	appropriate value.

e.g.
	$TTL 1234567
	@ IN SOA ....
	  IN NS ...
	...

	Mark

> 
> Hi,
> 
> Could someone please post a working example for an internal zone file ?
> 
> When you have malformed zonefiles named starts, but cannot resolve names
> from the bad zones.
> 
> I made bind-9.1.1rc4 and installed it.
> 
> I tried to checkzone the zonefiles:
>   find /var/named -follow -name "*.zone" -print -exec named-checkzone {}
> \;
> 
> I get errors like that for the 0.0.127.zone file:
> dns_master_load: /var/named-9.1.1rc4/0.0.127.zone:17: ignoring
> out-of-zone data
> dns_master_load: /var/named-9.1.1rc4/0.0.127.zone:18: ignoring
> out-of-zone data
> dns_zone_load: zone /var/named-9.1.1rc4/0.0.127.zone/IN: could not find
> NS and/or SOA records
> dns_zone_load: zone /var/named-9.1.1rc4/0.0.127.zone/IN: has 0 SOA
> records
> dns_zone_load: zone /var/named-9.1.1rc4/0.0.127.zone/IN: no NS records
> 
> cat << EOF > 0.0.127.zone
> ;
> ;
> ; see:
> http://www.ecst.csuchico.edu/~dranch/LINUX/TrinityOS/TXT/TrinityOS.txt
> ;   derived from
> ;     /home/chroot-dns-int/var/named/127.0.0.db ZONE file for TrinityOS
> - 03/05/01
> ;
> $ORIGIN 0.0.127.in-addr.arpa.
> $TTL    86400
> @               IN      SOA     localhost. localhost. (
>                             2001031310      ; serial, todays date +
> todays serial #
>                                 8H      ; Refresh
>                                 2H      ; Retry
>                                 1W      ; Expire
>                                 1D)     ; Minimum TTL
> 
>                           NS      localhost.
> 1                  86400  PTR     localhost.
> EOF
> 
> Thank you.
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list