dlint error in named file
Tony Sterrett
tonyste at pacbell.net
Tue Sep 2 12:02:40 PDT 2003
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
------------------------------------------------------------------------
--
More information about the freebsd-questions
mailing list