Date: Thu, 4 Jun 2009 11:53:38 -0500 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: Named ignoring forward-only zones? Message-ID: <200906041153.38898.kirk@strauser.com>
next in thread | raw e-mail | index | archive | help
For some reason, BIND 9 (FreeBSD 7.2-RELEASE) isn't properly forwarding 
queries.  A snippet of named.conf:
acl clients {
        localnets;
        localhost;
        ::1;      
        10.45.12/19;
};                         
view "internal" {
        match-clients { clients; };
        zone "5.0.10.in-addr.arpa" {
                type forward;
                forward only;
                forwarders { 10.0.5.16; };
        };
};
Now, I can query the forwarder directly to get the right answer:
$ dig +noall +answer -t ptr -x 10.0.5.16 @10.0.5.16
16.5.0.10.in-addr.arpa. 86400   IN      PTR     kanga.honeypot.net.
But I can't get the same from named:
$ dig -t ptr -x 10.0.5.16
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56485
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;16.5.0.10.in-addr.arpa.                IN      PTR
;; AUTHORITY SECTION:
10.in-addr.arpa.        10800   IN      SOA     10.in-addr.arpa. 
nobody.localhost. 42 86400 43200 604800 10800
So, why isn't named directing that query to the configured forwarder?  I'm 
99.9% certain this has been working recently.
-- 
Kirk Strauser
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906041153.38898.kirk>
