named.conf and reverse lookups

Steven Stern subscribed-lists at sterndata.com
Fri Oct 14 03:13:05 UTC 2005


I've set up a caching name server on my system because the D-Link router 
is really slow and stupid on DNS lookups.  Forward lookups work great, 
but reverse looks for outside domains fail.  Obviously, I need to 
"forward" the reverse looks, but I'm not sure  what to add to named.conf.

-------------------------------
The relevant parts of named.conf are below.  192.168.123.51 is the router.
--------------------------------

 acl red-hats {
    192.168.123.0/24;
 };

 options {
        allow-query { red-hats; };
        allow-recursion { red-hats; };
        directory "/var/named";
        forwarders { 192.168.123.51; };
        ...
     };

---------------------------------
Here's success and failure:
----------------------------------
$ nslookup
 > 128.135.16.1
Server:         127.0.0.1
Address:        127.0.0.1#53

** server can't find 1.16.135.128.in-addr.arpa: REFUSED
 > server 192.168.123.51
Default server: 192.168.123.51
Address: 192.168.123.51#53
 > 128.135.16.1
Server:         192.168.123.51
Address:        192.168.123.51#53

Non-authoritative answer:
1.16.135.128.in-addr.arpa       name = v16router.uchicago.edu.


-- 

  Steve




More information about the fedora-list mailing list