Setting up reverse DNS for a /25 block of IPs

I've currently got a block of IPs that go from xxx.xxx.xxx.128/25

Here's my current rDNS setup:

$TTL 12h $ORIGIN 128/25.xxx.xxx.xxx.IN-ADDR.ARPA.  @       IN      SOA     ns1.domain.com. hostmaster.domain.com. (                          2011092003      ; serial number                         2h              ; refresh                         1h              ; retry                         2w              ; expire                         1h      )       ; negative TTL          IN      NS      ns1.domain.com.         IN      NS      ns2.domain.com.  130       IN        PTR        mail.otherdomain.com. 

It doesn't seem to be working properly. I've got it setup in named.conf like so:

zone "128/25.xxx.xxx.xxx.in-addr.arpa" {     type master;     file "master/128-25.xxx.xxx.xxx.in-addr.arpa"; }; 

Replay

RFC2317 delegations aren't typical zones, clients don't know how to find them during a lookup; there will need to be a "delegation" (it's not a real delegation, as it's not really working inside the hierarchy of DNS) in the zone for the /24 sending every address in the /25 to your name server via a CNAME to the 128/25.x.x.x.in-addr-arpa. zone.

Something like this in the /24's zone:

128/25    IN    NS       your.server.here.

128       IN    CNAME    128.128/25
129       IN    CNAME    129.128/25
...
254       IN    CNAME    254.128/25
255       IN    CNAME    255.128/25

Category: domain name system Time: 2011-09-20 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.152 (s). 12 q(s)