classless reverse dns

Michael Kjorling michael at kjorling.com
Fri Sep 21 18:02:28 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 21 2001 11:56 -0000, Fredrik Bodin wrote:

> Hi
>
> I have some small problems with setting up a reverse zone for my network.
>
> I was signed the range 193.216.62.48-63, netmask 255.255.255.240
>
> The isp says i have to set up a reverse zone, 48-28.62.216.193.in-addr.arpa
> witch i have done. Now the Bind 9.1.2 server will not load that zone.

Hint: upgrade. These days it is either 9.1.3 or 9.2.0rc3 (which by the
way works great for me, though I haven't exactly stressed it
artificially - but it is a master for several zones).


> my 48-28 (and so on) in-addr.arpa file is as follow:
> $ttl 38400
> 48-28.62.216.193.in-addr.arpa. IN SOA ns.sicanet.no. webmaster.sicanet.no. (
>    2001092100
>    10800
>    3600
>    432000
>    38400 )
> 48-28.62.216.193.in-addr.arpa.  NS ns.sicanet.no.
> 48-28.62.216.193.in-addr.arpa.  NS ns2.sicanet.no.
> $ORIGIN 48-28.62.216.193.in-addr.arpa.
> ;49 IN PTR routerip
> ;50 IN PTR
> 51 IN  PTR fedde.sicanet.no.
> ;52 IN PTR
> ;53 IN PTR
> ;54 IN PTR
> 55 IN PTR frode.sicanet.no.
> ;56 IN PTR
> ;57 IN PTR
> 58 IN PTR mail.netonline.no.
> 59 IN PTR server01.sicanet.no.
> 60 IN PTR ns2.sicanet.no.
> 61 IN PTR ns.sicanet.no.
> ;62 IN PTR

BIND 9.2.0rc3 has no problem with this zone as you posted it:

	[michael at varg michael]$ /usr/sbin/named-checkzone -v
	9.2.0rc3
	[michael at varg michael]$ /usr/sbin/named-checkzone 48-28.62.216.193.in-addr.arpa 48-28.62.216.193.in-addr.arpa
	zone 48-28.62.216.193.in-addr.arpa/IN: loaded serial 2001092100
	OK
	[michael at varg michael]$


> my settings in named.conf for that zone is :
> zone "48-28.62.216.193.in-addr.arpa" {
>         type master;
>         file "/path/tofile/";
>         };

Well then, there is your problem. You are pointing BIND at a directory
where it expects a regular file. Also, I strongly suspect that you
don't have any directory /path/tofile on your system, whether in a
chroot jail or not.


> The errors in messages is just saying that it can't load the file. The
> secondary nameserver gives "unexpected rcode (servfail)"

SERVFAIL is normal when there is a syntax error in the zone file, or
it could not be loaded for some other reason (file not found, for
example). It just means "server failure".


> Anybody have a solution?
>
> Sincerly
> Fredrik Bodin
> Sicanet Home Network :)
> fredrik.bodin at sicanet.no

Fix your named.conf.


Michael Kjörling

- -- 
Michael Kjörling - michael at kjorling.com - PGP: 8A70E33E
Manager Wolf.COM -- Programmer -- Network Administrator
"We must be the change we wish to see" (Mahatma Gandhi)

^..^     Support the wolves in Norway -- go to     ^..^
 \/   http://home.no.net/ulvelist/protest_int.htm   \/

***** Please only send me emails which concern me *****

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For my PGP key: http://michael.kjorling.com/contact/pgp.html

iD8DBQE7q4C4KqN7/Ypw4z4RAgZLAKDxejFoBdOojXrjzfhk5rKz1HXFnACfTsG+
WbPiVNCugoIuAGgIcAQmtXM=
=O3eH
-----END PGP SIGNATURE-----




More information about the bind-users mailing list