From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 05:57:16 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 39BE816A4BF for ; Thu, 4 Sep 2003 05:57:16 -0700 (PDT) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C8E543FB1 for ; Thu, 4 Sep 2003 05:57:15 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from pc3-cdif2-5-cust222.cdif.cable.ntl.com ([81.101.152.222] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.20) id 19utfl-00040v-0J; Thu, 04 Sep 2003 13:57:13 +0100 Received: from setantae by shrike.submonkey.net with local (Exim 4.22) id 19utfi-0007PC-2X; Thu, 04 Sep 2003 13:57:10 +0100 Date: Thu, 4 Sep 2003 13:57:10 +0100 From: Ceri Davies To: Tony Sterrett Message-ID: <20030904125709.GE25063@submonkey.net> References: <01C44059-DD78-11D7-A935-000A957FF666@pacbell.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6v9BRtpmy+umdQlo" Content-Disposition: inline In-Reply-To: <01C44059-DD78-11D7-A935-000A957FF666@pacbell.net> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-questions@freebsd.org Subject: Re: 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: Thu, 04 Sep 2003 12:57:16 -0000 --6v9BRtpmy+umdQlo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 02, 2003 at 12:02:32PM -0700, Tony Sterrett wrote: > Hello, > Maybe some of you know the dlint tool. Please note mail.foobar.net =20 > nor mail appear in any of the files. Names (and ips) have been changed = =20 > to protect the guilty. What's the question? Your PTR records are clearly missing (unless your message got truncated). Ceri > When I run my foobar.net zone file I get the following: >=20 > ;; 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 =20 > reverse PTR record for 133.12.163.64.in-addr.arpa. can be found on =20 > 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 = =20 > PTR record for 132.12.163.64.in-addr.arpa. can be found on nameserver =20 > 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 = =20 > PTR record for 133.12.163.64.in-addr.arpa. can be found on nameserver =20 > 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 = =20 > record for 133.12.163.64.in-addr.arpa. can be found on nameserver =20 > 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 >=20 > sterrett.net. IN SOA ns2.sterrett.net. root.sterrett.net. ( > 5 ; Serial > 10800 ; Refresh > 3600 ; Retry > 604800 ; Expire > 86400 ) ; Minimum TTL >=20 > ; DNS Servers >=20 > sterrett.net. IN NS ns2.sterrett.net. >=20 >=20 >=20 >=20 > ; 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 >=20 >=20 >=20 >=20 > 12.163.64.in-addr.arpa IN NS ns2.sterrett.net. >=20 >=20 >=20 > -------named.conf >=20 >=20 > zone "." { > type hint; > file "named.root"; > }; >=20 > zone "foobar.net" { > type master; > file "foobar.net"; > }; >=20 > zone "12.123.45.in-addr.arpa" { > type master; > file "12.123.45.in-addr.arpa"; > }; >=20 > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "localhost.rev"; > }; >=20 > reservse file ---- > $TTL 3h >=20 > 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 >=20 >=20 > 12.123.45.in-addr.arpa. IN NS ns2.foobar.net. >=20 > ; test below >=20 >=20 >=20 > ; PTR records >=20 >=20 >=20 > ------------------------------------------------------------------------= =20 > -- >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com --6v9BRtpmy+umdQlo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/VzalocfcwTS3JF8RAlVIAKCLFvx68xjiItsw3XuKAVH+D6KDpACgpS8D OiZpHlLbjRZ/V1V2xpyN1HY= =1kI2 -----END PGP SIGNATURE----- --6v9BRtpmy+umdQlo--