DNS for CLNS

Mark_Andrews at isc.org Mark_Andrews at isc.org
Wed Sep 18 23:58:28 UTC 2002


> 
> Mark_Andrews at isc.org wrote in message news:<am5vos$eaac$1 at isrv4.isc.org>...
> > > Hi all,
> > > 
> > > I am trying to implement DNS for CLNS. I have seen the 1706 rfc and I
> > > have no problem when I perform the direct resolution, as you can see
> > > in next lines:
> > > 
> > > # dig @gestdns1 em_serv9.sgxxx.yyyyyyyy.es any any
> > > 
> > > ; <<>> DiG 8.3 <<>> @gestdns1 em_serv9.sgxxx.yyyyyyyy.es any any
> > > ; (1 server found)
> > > ;; res options: init recurs defnam dnsrch
> > > ;; got answer:
> > > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
> > > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
> > > ;; QUERY SECTION:
> > > ;;      em_serv9.sgxxx.yyyyyyyy.es, type = ANY, class = ANY
> > > 
> > > ;; ANSWER SECTION:
> > > em_serv9.sgxxx.yyyyyyyy.es.  1D IN NSAP 
> > > 0x39.724F.2000.1A00.0000.0003.0826.0030.6E13.75E7.00
> > > em_serv9.sgxxx.yyyyyyyy.es.  1D IN A  172.16.32.20
> > > 
> > > ;; Total query time: 4 msec
> > > ;; FROM: gestdns1 to SERVER: gestdns1  172.16.1.40
> > > ;; WHEN: Mon Sep 16 10:32:50 2002
> > > ;; MSG SIZE  sent: 46  rcvd: 94
> > > 
> > > But when I perform a reverse lookup, name server answers me with
> > > error:
> > > # dig @gestdns1 -x 39.724F.2000.1A00.0000.0003.0826.0030.6E13.75E7.00
> > > any any
> > > 
> > > ; <<>> DiG 8.3 <<>> @gestdns1 -x any any
> > > ; (1 server found)
> > > ;; res options: init recurs defnam dnsrch
> > > ;; got answer:
> > > ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6
> > > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> > > ;; QUERY SECTION:
> > > ;;      00.75E7.6E13.0030.0826.0003.0000.1A00.2000.724F.39.in-addr.arpa,
> > > type = ANY, class = ANY
> > > 
> > > ;; Total query time: 7 msec
> > > ;; FROM: gestdns1 to SERVER: gestdns1  172.16.1.40
> > > ;; WHEN: Mon Sep 16 10:31:07 2002
> > > ;; MSG SIZE  sent: 81  rcvd: 81
> > 
> > 	-x applies to IP addresses not NSAP.
> > 
> > > I think I have a problem with the inverse resolution file. Next lines
> > > are a fragment of it:
> > > ;
> > > ;
> > > $ORIGIN 3.0.0.0.0.0.0.0.0.0.a.1.0.0.0.2.f.4.2.7.9.3.in-addr.arpa.
> > > ;
> > > 0.0.7.E.5.7.3.1.E.6.0.3.0.0.6.2.8.0  IN    PTR 
> > > em_serv9.sgjds.telefonica.es.
> > > ;
> > 
> > 	The suffix should be NSAP.INT not IN-ADDR.ARPA.
> >  
> > > Can anybody help me ?
> > > 
> > > Thanks in advance
> > >
> 
> Hi all,
> 
> I've performed changes suggested by both of you but I have the same
> problem. If I perform a reverse nslookup DNS server answers me with
> error. But If I perform the direct resolution I have no problem. Next
> lines trying to show the problem.
> 
> *** localhost can't find
> 39.724F.2000.1A00.0000.0003.0826.0030.6E13.75E7.00: Server failed
> > set type=PTR
> > 39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00
> Server:  localhost
> Address:  127.0.0.1
> 
> *** localhost can't find
> 39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00: Server failed
> > set type=NAPTR
> > 39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00
> Server:  localhost
> Address:  127.0.0.1
> 
> *** localhost can't find
> 39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00: Server failed
> > set type=NSAP
> > em_serv9
> Server:  localhost
> Address:  127.0.0.1
> 
> em_serv9.sgjds.yyyyyyyy.es    nsap =
> 0x39.724F.2000.1A00.0000.0003.0826.0030.6E13.75E7.00
> sgjds.yyyyyyyy.es     nameserver = gestdns1.sgjds.yyyyyyyy.es
> sgjds.yyyyyyyy.es     nameserver = gestdns2.sgjds.yyyyyyyy.es
> sgjds.yyyyyyyy.es     nameserver = mngnnm.sgjds.yyyyyyyy.es
> gestdns1.sgjds.yyyyyyyy.es    internet address = 172.16.1.40
> gestdns2.sgjds.yyyyyyyy.es    internet address = 172.16.9.250
> mngnnm.sgjds.yyyyyyyy.es      internet address = 172.16.1.50
> ====================
> FILE NSAP.INT
> ====================
> 
>        IN     NS     gestdns2.sgjds.yyyyyyyy.es.
>         IN      NS      mngnnm.sgjds.yyyyyyyy.es.
> ;
> ;
> $ORIGIN 6.2.8.0.3.0.0.0.0.0.0.0.0.0.a.1.0.0.0.2.f.4.2.7.9.3.NSAP.INT.
> ;
> 0.0.7.E.5.7.3.1.E.6.0.3.0.0 IN    PTR  em_serv9.sgjds.yyyyyyyy.es.
> ;
> Any idea ?
> 
> Thanks
> 

	Yes.  Read the documentation.  No where does any documentaion
	39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00 will be
	interpreted as a address.

	Firstly it would have to be
	0x39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00

	Secondly dig/host/nslookup etc. would have to modified to look
	for this address form and perform the reverse translation.

	dig/host/nslookup know that 1.2.3.4 is a IP address.  Modern
	forms know that ::1 is a IPv6 address.  None (unless modified
	by a vendor) know that 
	0x39.724f.2000.1a00.0000.0003.0826.0030.6e13.75e7.00 is a NSAP.

	If you want to use dig/host/nslookup you need to perform the
	mapping by hand.

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list