[Pdns-users] forward /28 subnet form inside of a /24 reverse zone

Imre Gergely gimre at narancs.net
Thu Mar 25 17:54:55 UTC 2010


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
>>> Pdns-users at mailman.powerdns.com
>>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>>>
>>
>
>

-- 
Imre Gergely
Yahoo!: gergelyimre | ICQ#: 101510959
MSN: gergely_imre | GoogleTalk: gergelyimre
gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305



More information about the Pdns-users mailing list