From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 21:51:43 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 811BA16A46C for ; Mon, 22 Oct 2007 21:51:43 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 57ECE13C4B9 for ; Mon, 22 Oct 2007 21:51:43 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.744.0; Mon, 22 Oct 2007 14:51:34 -0700 Message-ID: <471D1B65.6000800@riderway.com> Date: Mon, 22 Oct 2007 17:51:33 -0400 From: "Philip M. Gollucci" Organization: Riderway Inc. User-Agent: Thunderbird 2.0.0.6 (X11/20070919) MIME-Version: 1.0 To: Eric F Crist References: <87AE890B-5F57-4F8B-B660-417455F9C453@secure-computing.net> In-Reply-To: <87AE890B-5F57-4F8B-B660-417455F9C453@secure-computing.net> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: reverse DNS resolution... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 21:51:43 -0000 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 ' 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.