[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reverse lookup problem
im having a problem getting my reverse dns lookup working.
here is my db file for the reverse zone
61.147.12.in-addr.arpa. IN SOA ns1.clearwaveonline.net.
admin.clearwaveonline.net. (
2001101101 ; Serial
10800 ; Refresh after 3 hrs
3600 ; Retry after 1 hr
604800 ; expire after 1 week
86400 ) ; minimum TTL 1 day
;
;Set name servers
;
61.147.12.in-addr.arpa. IN NS ns1.clearwaveonline.net.
61.147.12.in-addr.arpa. IN NS ns2.clearwaveonline.net.
;
; Set reverse lookup mappings
;
1.61.147.12.in-addr.arpa. IN PTR gateway.clearwaveonline.net.
2.61.147.12.in-addr.arpa. IN PTR ns1.clearwaveonline.net.
3.61.147.12.in-addr.arpa. IN PTR ns1.clearwaveonline.net.
4.61.147.12.in-addr.arpa. IN PTR ns2.clearwaveonline.net.
5.61.147.12.in-addr.arpa. IN PTR ns2.clearwaveonline.net.
8.61.147.12.in-addr.arpa. IN PTR ophidian.clearwaveonline.net.
9.61.147.12.in-addr.arpa. IN PTR portal.clearwaveonline.net.
10.61.147.12.in-addr.arpa. IN PTR hbgmax1.clearwaveonline.net.
11.61.147.12.in-addr.arpa. IN PTR ip-11.clearwaveonline.net.
/EOF
here is the named.conf entry for it
//zone "61.147.12.in-addr.arpa in {
// type master;
// file "db.12.147.61";
//};
/eof
its commented out because if i dont then bind will exit for the zone file
being bad
i downloaded the bind 9 pdf manual but cant see anything really wrong with
my reverse lookup db file
i copied the template file from oreilly's bind and dns book 3rd edition, but
its made for bind 8 and apparently things have changed
checked /var/log/messages and it looks like i need to add a TTL value to the
first line of all my other db files, but they still load and work properly
here is a snippet from the messages file
/etc/named.conf:52: unknown class near 'db.12.147.61'
Oct 10 22:50:23 ns1 named[25460]: loading configuration: failure
Oct 10 22:50:23 ns1 named[25460]: exiting (due to fatal error)
Oct 10 22:50:25 ns1 named: named shutdown failed
Oct 10 22:50:25 ns1 named[25481]: starting BIND 9.1.0 -u named
Oct 10 22:50:25 ns1 named: named startup succeeded
Oct 10 22:50:25 ns1 named[25481]: using 1 CPU
Oct 10 22:50:25 ns1 named[25485]: loading configuration from
'/etc/named.conf'
Oct 10 22:50:25 ns1 named[25485]: /etc/named.conf:52: unknown class near
'db.12.147.61'
Oct 10 22:50:25 ns1 named[25485]: loading configuration: failure
Oct 10 22:50:25 ns1 named[25485]: exiting (due to fatal error)
/eof
any ideas?
Casey
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.