Reverse Lookups with Forwarders

sumsum 2000 sum2hike at
Tue Jul 9 07:18:20 UTC 2013

What I am trying to achieve is this:

I am using BIND9 only for forwarding DNS requests to other DNS Servers.

I  want the entire hosts in the
network   :
with the host range: -
 with a total 254 addresses to be sent for reverse lookup say to DNS :, using a single zone configuration as shown below.

Instead of having a zone file for each and every IP in the network, i want
to use one zone file to have all the hosts  in the  network
to be forwarded to
So when i do a dig -x which is in the range of the specified
network, i want  it be forwarded to only

When i do  dig on a specific address, it gets resolved, but not through the
configured DNS, but through default DNS  I hope this
explains the situation which i am trying to solve with a zone file

I am not sure if the zone file configuration is correct.

dig -x,

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-14.mlos2.mwg <<>> -x
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16896
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;    IN    PTR


;; Query time: 0 msec
;; WHEN: Tue Jul  9 07:11:49 2013
;; MSG SIZE  rcvd: 93

                        # named.conf
                        options {
                        listen-on port 53 {; };
                        listen-on-v6 port 53 { ::1; };
                        allow-query {localhost;};
                        recursion yes;
                        dump-file       "/var/named/data/cache_dump.db";
                        statistics-file "/var/named/data/named_stats.txt";

                        directory "/var/named";
                        version "none";
                        max-cache-size 134217728;
                        forward only;

                        include "/etc/rndc.key";
                        include "/etc/named.conf.test";

                        view "default" IN {
                        max-cache-ttl 600;
                        max-ncache-ttl 600;

                        zone  "." IN  {
                                type forward;
                                forwarders {;};
                                forward only;

                        zone "0/" IN {
                                type forward;
                                forwarders {;};
                                forward only;

On Tue, Jul 9, 2013 at 12:23 PM, Doug Barton <dougb at> wrote:

> It's not at all clear from your description what you're trying to
> accomplish. Particularly it's not clear what you seem to be trying to
> accomplish with the 2317 delegation for a /24 zone.
> Can you describe what you're trying to do, and why? It may be easier to
> help you that way. Please use the actual zone(s) you're working with, as
> that will also make it easier.
> Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list