Classless delegation

Bob Vance bobvance at alumni.caltech.edu
Fri Feb 2 17:41:16 UTC 2001


Watch those periods !!!!!!
These could *not* be from your real zone data, could they ?>)


>0/25	IN	NS	ns1.my-domain.com
>	IN	NS	ns2.my-domain.com
>
>1	IN	CNAME	1.0/25.33.168.192.in-addr.arpa
>2	IN	CNAME	2.0/25.33.168.192.in-addr.arpa
   ...
>1	IN	PTR	pc1.my-domain.com
>2	IN	PTR	pc2.my-domain.com


should be

0/25	IN	NS	ns1.my-domain.com.  ; note the periods
	IN	NS	ns2.my-domain.com.

1	IN	CNAME	1.0/25.33.168.192.in-addr.arpa.
2	IN	CNAME	2.0/25.33.168.192.in-addr.arpa.
   ...
1	IN	PTR	pc1.my-domain.com.
2	IN	PTR	pc2.my-domain.com.


But this was just a posting typo issue, right :)

Anyway,

>So, when I make a query to nslookup for 192.168.33.1 I obtain the next
>result:

>1.33.168.192.in-addr.arpa	canonical name=
1.0/25.33.168.192.in-addr.arpa

>Is this a correct result?

Yes.  You asked for a name and it happened to have a CNAME RR.
However, you should also have gotten the canonical data as well:

linux1# nslookup -q=ptr 18.1.168.192.in-addr.arpa.
   ...
18.1.168.192.in-addr.arpa       canonical name =
   18.1.168.192.dynamic.in-addr.arpa
18.1.168.192.dynamic.in-addr.arpa       name = whitney.dynamic.vance


-------------------------------------------------
Tks        | <mailto:BVance at sbm.com>
BV         | <mailto:BobVance at alumni.caltech.edu>
Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
Vox 770-623-3430           11455 Lakefield Dr.
Fax 770-623-3429           Duluth, GA 30097-1511
=================================================





-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of IRIS-NIC
Sent: Friday, February 02, 2001 3:34 AM
To: bind-users at isc.org
Subject: Classless delegation



Hi all,




	maybe my doubt is a basic issue but I had never given my attention to
it.


	I have configured several classless delegations and zones in this way:


Delegation of "0/25.33.168.192.in-addr.arpa":


0/25	IN	NS	ns1.my-domain.com
	IN	NS	ns2.my-domain.com

1	IN	CNAME	1.0/25.33.168.192.in-addr.arpa
2	IN	CNAME	2.0/25.33.168.192.in-addr.arpa
....

Configuration in ns1.my-domain.com:


1.0/25.33.168.192.in-addr.arpa.	IN	PTR	pc1.my-domain.com
2.0/25.33.168.192.in-addr.arpa.	IN	PTR	pc2.my-domain.com


And I suppose this is the same as:


1	IN	PTR	pc1.my-domain.com
2	IN	PTR	pc2.my-domain.com




So, when I make a query to nslookup for 192.168.33.1 I obtain the next
result:

1.33.168.192.in-addr.arpa	canonical name= 1.0/25.33.168.192.in-addr.arpa


Is this a correct result? Or may I obtain

1.33.168.192.in-addr.arpa	canonical name= pc1.my-domain.com


What am I doing wrong?




Thanks a lot and best regards,

Maribel.

--
+---------------------------------------------------------------+
|   RedIRIS NIC                                                 |
|   Centro de Comunicaciones CSIC RedIRIS                       |
|   Serrano 142                 Tel:    + 34 915855150          |
|   28006  Madrid               Fax:    + 34 915855146          |
|   SPAIN                       Email:  iris-nic at rediris.es     |
+---------------------------------------------------------------+




More information about the bind-users mailing list