From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 12:02:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5996F16A4BF for ; Tue, 2 Sep 2003 12:02:40 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E76043FE0 for ; Tue, 2 Sep 2003 12:02:39 -0700 (PDT) (envelope-from tonyste@pacbell.net) Received: from pacbell.net (adsl-64-163-12-132.dsl.sndg02.pacbell.net [64.163.12.132])h82J2Xt1014891; Tue, 2 Sep 2003 14:02:33 -0500 (CDT) Date: Tue, 2 Sep 2003 12:02:32 -0700 Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: freebsd-questions@freebsd.org From: Tony Sterrett Content-Transfer-Encoding: 7bit Message-Id: <01C44059-DD78-11D7-A935-000A957FF666@pacbell.net> X-Mailer: Apple Mail (2.552) X-Mailman-Approved-At: Tue, 02 Sep 2003 18:47:52 -0700 cc: Tony Sterrett Subject: dlint error in named file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 19:02:40 -0000 Hello, Maybe some of you know the dlint tool. Please note mail.foobar.net nor mail appear in any of the files. Names (and ips) have been changed to protect the guilty. When I run my foobar.net zone file I get the following: ;; All responding nameservers agree on the serial number. ;; Now caching whole zone (this could take a minute) ;; trying nameserver ns2.foobar.net. ;; 5 A records found. ERROR: mail.foobar.net. has an A record of 64.163.12.133, but no reverse PTR record for 133.12.163.64.in-addr.arpa. can be found on nameserver ns2.foobar.net. The following resource record should be added: 133.12.163.64.in-addr.arpa. IN PTR mail.foobar.net. ERROR: ns1.foobar.net. has an A record of 64.163.12.132, but no reverse PTR record for 132.12.163.64.in-addr.arpa. can be found on nameserver ns2.foobar.net. The following resource record should be added: 132.12.163.64.in-addr.arpa. IN PTR ns1.foobar.net. ERROR: ns2.foobar.net. has an A record of 64.163.12.133, but no reverse PTR record for 133.12.163.64.in-addr.arpa. can be found on nameserver ns2.foobar.net. The following resource record should be added: 133.12.163.64.in-addr.arpa. IN PTR ns2.foobar.net. ERROR: foobar.net. has an A record of 64.163.12.133, but no reverse PTR record for 133.12.163.64.in-addr.arpa. can be found on nameserver ns2.foobar.net. The following resource record should be added: 133.12.163.64.in-addr.arpa. IN PTR foobar.net. --------- ---------foobar.net $TTL 3h sterrett.net. IN SOA ns2.sterrett.net. root.sterrett.net. ( 5 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL ; DNS Servers sterrett.net. IN NS ns2.sterrett.net. ; Machine Names localhost IN A 127.0.0.1 ns2 IN A 64.163.12.133 ns2 IN A 192.168.142.196 @ IN A 64.163.12.133 12.163.64.in-addr.arpa IN NS ns2.sterrett.net. -------named.conf zone "." { type hint; file "named.root"; }; zone "foobar.net" { type master; file "foobar.net"; }; zone "12.123.45.in-addr.arpa" { type master; file "12.123.45.in-addr.arpa"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; reservse file ---- $TTL 3h 12.123.45.in-addr.arpa. IN SOA ns2.foobar.net root.foobar.net { 1 ; Serial 3h ; Refresh after 3 hours 1h ; Retry after 1 hours 1w ; Expire after 1 week 1h } ; Negative Caching TTL of 1 hour 12.123.45.in-addr.arpa. IN NS ns2.foobar.net. ; test below ; PTR records ------------------------------------------------------------------------ --