Ok, simple. The zone you want to forward is 110.252.173.in-addr.arpa.
There is no need to make it more complicated than that.
Good luck,
Doug
On 07/09/2013 12:18 AM, sumsum 2000 wrote:
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 : 173.252.110.0
with the host range: 173.252.110.1 - 173.252.110.254
with a total 254 addresses to be sent for reverse lookup say to DNS :
8.8.8.8, 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
173.252.110.0 to be forwarded to 8.8.8.8.
So when i do a dig -x 173.252.110.27 which is in the range of the
specified network, i want it be forwarded to only 8.8.8.8
When i do dig on a specific address, it gets resolved, but not through
the configured DNS 8.8.8.8, but through default DNS 8.8.4.4. I hope
this explains the situation which i am trying to solve with a zone file
delegation.
I am not sure if the zone file configuration is correct.
==========================================================
dig -x 173.252.110.27,
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-14.mlos2.mwg <<>> -x 173.252.110.27
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16896
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;27.110.252.173.in-addr.arpa. IN PTR
;; ANSWER SECTION:
27.110.252.173.in-addr.arpa. 39 IN PTR
edge-star-shv-13-frc1.facebook.com
<http://edge-star-shv-13-frc1.facebook.com>.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jul 9 07:11:49 2013
;; MSG SIZE rcvd: 93
named.conf
==========
# named.conf
options {
listen-on port 53 { 127.0.0.1; };
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";
memstatistics-file
"/var/named/data/named_mem_stats.txt";
directory "/var/named";
version "none";
max-cache-size 134217728;
forward only;
};
include "/etc/rndc.key";
include "/etc/named.conf.test";
named.conf.test:
==============
view "default" IN {
max-cache-ttl 600;
max-ncache-ttl 600;
zone "." IN {
type forward;
forwarders {8.8.4.4;};
forward only;
};
zone "0/24.110.252.173.in-addr.arpa" IN {
type forward;
forwarders {8.8.8.8;};
forward only;
};
};
~
On Tue, Jul 9, 2013 at 12:23 PM, Doug Barton <do...@dougbarton.us
<mailto:do...@dougbarton.us>> 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
https://dougbarton.us/DNS/__bind-users-FAQ.html#RealNames
<https://dougbarton.us/DNS/bind-users-FAQ.html#RealNames>
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users