From owner-freebsd-questions@FreeBSD.ORG Thu May 31 22:31:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26CD716A421 for ; Thu, 31 May 2007 22:31:13 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C355413C480 for ; Thu, 31 May 2007 22:31:05 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l4VMU9t5049770; Thu, 31 May 2007 17:30:10 -0500 (CDT) Message-Id: <6.0.0.22.2.20070531172330.02455338@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 31 May 2007 17:29:47 -0500 To: Rob , FreeBSD Questions From: Derek Ragona In-Reply-To: <465F33B3.7090301@xxiii.com> References: <465F33B3.7090301@xxiii.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Help with Bind config syntax for reverse DNS on subnet 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: Thu, 31 May 2007 22:31:13 -0000 At 03:44 PM 5/31/2007, Rob wrote: >Hi, was hoping someone could help me with the correct syntax in my >named.conf for reverse DNS on a small subnet. > >Say I have 10.0.0.0/27, such that actual addresses are 10.0.0.0 through >10.0.0.31 -- If I add a zone like: >zone "0.0.10.in-addr.arpa" { > type master; > file "master/0.0.10.in-addr.arpa"; }; > >...I can define addresses for my little block, but reverse lookups on the >rest of 10.0.0.x seem to fail. What's the correct way to configure Bind >for this? You are missing any way to allow slaves to read the maps, so you might do something like: zone "0.0.10.in-addr.arpa" { type master; file "master/0.0.10.in-addr.arpa"; allow-transfer ( 10.0.0.2; and any other nameserver IP's; ); }; Then in your file: 0.0.10.in-addr.arpa list your addresses even if some are DHCP. 1 IN PTR router.domain.name. 2 IN PTR ns.domain.name. 3 IN PTR DHCP-10-0-0-3.domain.name. etc . . . -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.