Problem with Authoritative PTR Records

David Nolan vitroth+ at cmu.edu
Mon Mar 5 19:15:01 UTC 2007


Hector,

I believe your $ORIGIN line in the zone file is wrong.

You have:
$ORIGIN 0.240.24.216.IN-ADDR.ARPA.

You should have:
$ORIGIN 240.24.216.IN-ADDR.ARPA.


-David Nolan
 Network Services
 Carnegie Mellon University

--On Monday, March 05, 2007 14:51:39 -0400 Hector Cintron 
<hcintron at bivapr.net> wrote:

> Hi.
>
>   I'm trying to eliminate a Microsoft DNS server with bind, I ran into
> this problem I cannot figure out.  I have all my zones loaded (domains
> and ARPA).  If I query a domain (for example www.bivapr.net), it comes
> up as auth. Answer which is what I expect, but if I query 216.24.240.20
> it doesn't come up auth. And want recursion. It seems Im doing something
> that the DNS server don't know that he is Authoritative for that ARPA
> zone.  Here's a snip of my config and zone. Any ideas as what im I doing
> wrong?
>
> Thanks
>
>
> --------------------------------------
>
> include "/dns/etc/includes/named-acl-bogon.conf";
>
> include "/dns/etc/includes/named-acl-trusted.conf";
>
> acl "xfer" {
>     none;
> };
>
> //  **********************  Config files
>
> options {
>   directory "/dns/etc";
>
> version "get lost";
> allow-transfer {xfer;};
> allow-recursion {trusted;};
> allow-query {any;};
> blackhole {bogon;};
> transfer-format many-answers;
> max-transfer-time-in 5;
> interface-interval 0;
>     notify no;
> };
>
> // Customers
> ********************************************************************
>
> zone "." {
>   type hint;
>   file "root.servers";
> };
>
> // required local host domain
> zone "localhost" in{
>   type master;
>   file "pri.localhost";
>   allow-update{none;};
> };
>
> // localhost reverse map
> zone "0.0.127.in-addr.arpa" in{
>   type master;
>   file "records/arp/localhost.rev";
>   allow-update{none;};
> };
>
>
> zone "bivapr.net" in{
>   type master;
>   file "records/domains/bivapr_net.txt";
> };
>
>
> zone "0.240.24.216.in-addr.arpa" in{
>   type master;
>   file "records/arp/216.24.240.rev";
> };
> ------------------------------------
> $TTL	86400 ; 24 hours could have been written as 24h or 1d
> $ORIGIN 0.240.24.216.IN-ADDR.ARPA.
> @  1D  IN	 SOA ns1.bivapr.net.	peterm.bivapr.net. (
> 			      2006100101 ; serial
> 			      3600 ; refresh
> 			      15 ; retry
> 			      1w ; expire
> 			      3h ; minimum
> 			     )
>
>
> 		IN	NS	ns1.bivapr.net.
> 		IN	NS	ns2.bivapr.net.
> 		IN	NS	ns3.bivapr.net.
>
> ; host definitions
> 20	IN	PTR	ns3.bivapr.net.
>
>
>






More information about the bind-users mailing list