Date: Sat, 16 Jun 2001 02:20:23 +0200 From: Roelof Osinga <roelof@nisser.com> To: JOHN VAN BOXTEL <vanbo@usa.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bind and Reverse Delegations Message-ID: <3B2AA647.9D9BD911@nisser.com> References: <20010616000320.23377.qmail@nwcst322.netaddress.usa.net>
next in thread | previous in thread | raw e-mail | index | archive | help
JOHN VAN BOXTEL wrote: > > Our ISP delegated our ips for reverse lookup to our name servers but I an not > quite sure, that I have the reverse DNS setup right. The number of IPs we > have is less then /24 so... > > In my named.conf, do I need a zone per host for example hosts 12.45.1.1, and > 12.24.1.2: > > zone "1.1.45.12" { > type master; > file "12.45.1.1.rev"; > }; > > zone "2.1.45.12" { > type master; > file "12.45.1.2.rev"; > }; > > and in each .rev file one line: > 1 IN PTR hostname1.domain.net > 2 IN PTR hostname2.domain.net > > Or can I do the whole zone (which seems to work fine with the masters, but the > slave complain that I an not authoratative for the zone and won't transfer) > like so: > > zone "1.45.12" { > type master; > file "12.45.1.rev"; > }; > > and in 12.24.1.rev list: > 1 IN PTR hostname1.domain.net > 2 IN PTR hostname2.domain.net This seems to work for me: nl:/etc/namedb/s/intraction# tail ../../named.conf }; // ***** ***** ***** ***** ***** zone "250.204.212.in-addr.arpa" in { type master; file "s/db.212.204.250"; allow-query { "any"; }; //allow-transfer { "slaves"; }; }; nl:/etc/namedb/s/intraction# cat ../db.212.204.250 $TTL 345600 250.204.212.in-addr.arpa. IN SOA ns1.nisser.com. roelof.eboa.com. ( 2001022200 ; CcYyMmDd## Serial Nr., increment for each change! 86400 ; Refresh after 24 hours 7200 ; Retry after 2 hours 2592000 ; Expire after 30 days 345600 ) ; Minimum TTL of 4 days 250.204.212.in-addr.arpa. IN NS ns1.nisser.com. 250.204.212.in-addr.arpa. IN NS ns3.nisser.com. 121 IN PTR nl.nisser.com. 122 IN PTR ns1.nisser.com. 123 IN PTR ns2.nisser.com. 124 IN PTR mail.nisser.com. 125 IN PTR ftp.nisser.com. 126 IN PTR nisse.nisser.com. 127 IN PTR top.nisser.com. 128 IN PTR pop.nisser.com. 129 IN PTR isp.nisser.com. 130 IN PTR endu.nisser.com. Mind you, the actual ns2 is located some 100 miles up north and the nl and ns1 got switched sometime, but... Hey! Works for me ;). HTH, Roelof PS I found the pits to be to get the upper ISPs to classless delegate; some didn't even know what I was talking about. Even in this millennium. -- _______________________________________________________________________ eBOAź est. 1982 http://eBOA.com/ tel. +31-58-2123014 mailto:info@eBOA.com?subject=Information_request fax. +31-58-2160293 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B2AA647.9D9BD911>