Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 17:51:33 -0400
From:      "Philip M. Gollucci" <pgollucci@riderway.com>
To:        Eric F Crist <ecrist@secure-computing.net>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: reverse DNS resolution...
Message-ID:  <471D1B65.6000800@riderway.com>
In-Reply-To: <87AE890B-5F57-4F8B-B660-417455F9C453@secure-computing.net>
References:  <87AE890B-5F57-4F8B-B660-417455F9C453@secure-computing.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric F Crist wrote:
> Hey folks,
> 
> We're trying to get reverse DNS resolution for a block of IPs
> (private).  We've had the 10.x network working great at the office
> for quite some time now, but I'm having a problem getting the
> 172.30.x network to work.
> 
> Typing 'host <ip>' returns a valid result, however output from who,
> as well as other network services (IRC, apache) only see the IP.  Is
> there something I'm missing?
> 
> Thanks for the pointers!
Well, your DNS needs to be authoritative for both forward and reverse.
If you are trying to do this for less then a /24 block the zone files
get messy quick because of the 8bit boundaries.  You seem to be trying
to do this for a /16.  I'll bet you're missing the named.conf entries
and related reverse zone files:

Odds are you'll want to have zones:

zone "1.30.172.in.addr.arpa" {
  type master;
  file "master/1.30.172.in.addr.arpa
  notify yes;
}
....
zone "255.30.172.in.addr.arpa" {
  ;; or slave config since you'll have more than 1 ns
  type slave;
  file "slave/255.30.172.in.addr.arpa";
  masters { x.y.z.a; };
}

Or some larger splits of that.

You're going to have give me a netmask for more help.


$ORIGIN .
$TTL 3600       ; 1 hour
0.28.172.in-addr.arpa   IN SOA  ns1.rws. admin.Z. (
                                2007101800 ; Serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                3600       ; expire (1 hour)
                                86400      ; minimum (1 day)
                                )
                        NS      ns1.Z.
$ORIGIN 0.28.172.in-addr.arpa.
1                       PTR     router.Z.
......



-- 
------------------------------------------------------------------------
Philip M. Gollucci (philip@ridecharge.com) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471D1B65.6000800>