Since i want the 224/28 subnet to be forwarded to another name server and the rest of the ip address in the /24 to be answered by my own name server could i do something like this?

79.73.217.in-addr.arpa:

IN NS ns1.myserver.com // this is the NS for all the IP in that range that my name server will answer
   IN   NS    ns2.myserver.com

224/28 IN NS ns1.otherserver.com. // this /28 subnet will not be answered by my name server but another server
224/28    IN    NS    ns1.otherserver.com.

Or do i have to define every other ip as part of a subnet which is smaller then /24?


Imre Gergely wrote:

The rest of the IP addresses (outside that /28) you can define with PTR in the normal way, whenever you like. It's not necessary to define them all, if they don't have a PTR record, that's alright.

So in your zone file on your 2 namservers you'll have

224/28    IN    NS    ns1.otherserver.com.
224/28    IN    NS    ns1.otherserver.com.

26    IN    PTR    foo1.example.com.
27    IN    PTR    foo2.example.com.
28    IN    CNAME    28.224/28.79.73.217.in-addr.arpa.
29    IN    CNAME    29.224/28.79.73.217.in-addr.arpa.
[..]
43    IN    CNAME    43.224/28.79.73.217.in-addr.arpa.
44    IN    PTR    foo3.example.com.

You only have to have the CNAMEs for _all_ the IP addresses in that /28 subnet, because you want to delegate them all to the other nameserver.

On 03/25/2010 06:50 PM, Athiqur Rahman wrote:
Looking at the link below. It looks like that I will have to create
CNAME entry for every IP in the /28 subnet, That is 16 CNAME entries?
The nameserver that I am sending to will have to create a zone record
called 224/28.79.73.217.in-addr.arpa?

I am thinking do I have to define the rest of the IP addreses or will
just simple defining that one /28 be enough? Will the rest of the IP
addresses fall into the umbrella of the main NS definition in the zone
record?

Imre Gergely wrote:

You mean delegating a subnet to another nameserver? This may help:

http://www.zytrax.com/books/dns/ch3/#reverse

On 03/25/2010 05:53 PM, Athiqur Rahman wrote:
Hi,

I have the following zone 79.73.217.in-addr.arpa with the NS set as my 2
name servers.

What i want to do is just forward reverse dns requests for
217.73.79.224/28 to another name server. What would be the best way to
go about this?

Thanks
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users






_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to