I decided to change my address range from 192.168.0.0/24 to 192.168.1.0/24, and thought that I made only those changes. Now I'm able to correctly resolve hostnames, but a reverse lookup fails. I'm running FC4 fully patched, SELinux disabled, and IPTables turned off. Any help would be MUCH appreciated. Something tells me I'm over looking a trailing period somewhere, but I'm just missing it. Thanks in advance!
Here's my named.conf:
- Code: Select all
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
query-source address * port 53;
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "home.com" IN {
type master;
file "home.com.zone";
allow-update { localhost; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.rev";
allow-update { localhost; };
};
include "/etc/rndc.key";
Here's my reverse zone file:
- Code: Select all
$ORIGIN .
$TTL 259200 ; 3 days
1.168.192.in-addr.arpa IN SOA server.home.com. root.server.home.com. (
1 ; serial
3600 ; refresh (1 hour)
900 ; retry (15 minutes)
604800 ; expire (1 week)
3600 ; minimum (1 hour)
)
NS server.home.com.
$ORIGIN 1.168.192.in-addr.arpa.
$TTL 259200 ; 3 days
1 PTR router.home.com.
2 PTR office.home.com.
3 PTR laptop.home.com.
4 PTR tivo.home.com.
100 PTR server.home.com.
101 PTR external.home.com.
PTR www.home.com.
PTR mail.home.com.
$TTL 600 ; 10 minutes


