PDA

View Full Version : classless in-addr.arpa delegation


dleefy
19th July 2004, 11:39 PM
I am facing problem to delegate reverse lookup....
I am trying to implement classless in-addr.arpa delegation....to transfer the adminstration of the zone file to respective clients, rather than the ISP.
I have followed all the instructions from RFC 2317: Classless IN-ADDR.ARPA delegation, but still got the following error....

This is what i did....

on the ISP side..
===========

1. in 56.121.203.rev file,
-----------------------------

ORIGIN 56.121.203.in-addr.arpa.
@ IN SOA ns1.isp.nameserver. root.ns1.isp.nameserver. (
2004071201 ; serial
3600 ; refresh (1 hour)
300 ; retry (5 minutes)
604800 ; expire (1 week)
43200 ; minimum (12 hours)
)

; <<0-254>> /24
0/24 NS client_name_server.
;

1 CNAME 1.0/24.56.121.203.in-addr.arpa.
2 CNAME 2.0/24.56.121.203.in-addr.arpa.
3 CNAME 3.0/24.56.121.203.in-addr.arpa.
4 CNAME 4.0/24.56.121.203.in-addr.arpa.
5 CNAME 5.0/24.56.121.203.in-addr.arpa.
6 CNAME 6.0/24.56.121.203.in-addr.arpa.
7 CNAME 7.0/24.56.121.203.in-addr.arpa.
8 CNAME 8.0/24.56.121.203.in-addr.arpa.
9 CNAME 9.0/24.56.121.203.in-addr.arpa.
10 CNAME 10.0/24.56.121.203.in-addr.arpa.
.
.
.
.
.
.
.


2. in /etc/named.conf
-------------------------

zone "56.121.203.in-addr.arpa" in {
type master;
file "56.121.203.rev";
masters { 10.10.10.88; };
};


--------------------------------------------------------------------------------------------

on the client side..
============

1. in 0-24.56.121.203.rev
------------------------------

$ORIGIN 0/24.56.121.203.in-addr.arpa.
@ IN SOA ns1.client.nameserver. root.ns1.client.nameserver. (
2004071203 ; serial
3600 ; refresh (1 hour)
300 ; retry (5 minutes)
604800 ; expire (1 week)
43200 ; minimum (12 hours)
)
;
; name servers
;
@ NS ns1.client.nameserver.
@ NS ns2.client.nameserver.

;
; address point to canonical name
;
1 IN PTR classless1.net.my.
2 IN PTR classless2.net.my.
3 IN PTR classless3.net.my.
4 IN PTR classless4.net.my.
.
.
.
.


2. in /etc/named.conf
-------------------------

zone "0/24.56.121.203.in-addr.arpa" in {
type slave;
file "0-24.56.121.203.rev";
masters { 10.20.0.196; };
};


when running nslookup at ISP named server, I got these error....

1. in ISP nameserver
-------------------------
> set type=ptr
> 203.121.56.1
** server can't find 1.56.121.203.in-addr.arpa.: SERVFAIL


2. in client nameserver
----------------------------
Jul 19 18:06:00 belukang-int named[29306]: zone 0/24.56.121.203.in-addr.arpa/IN: refresh: unexpected rcode (SERVFAIL) from master 10.20.0.196#53


Any help is very much appreciated...thanks in advance....

//dleefy
19-07-2004
1840 -800

Donghai Travel Photos on Instagram - Avarua Travel Photos on Instagram - Granite City Travel Photos