Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 11:24:42 +0200
From:      Vadim Chekan <vadim@gc.lviv.ua>
To:        "stable@FreeBSD.ORG" <stable@FreeBSD.ORG>
Subject:   Resolver in FreeBSD-3.[12] is broken?
Message-ID:  <3805A15A.FFA7934D@gc.lviv.ua>

next in thread | raw e-mail | index | archive | help
Hi

It seems, FreeBSD-3.[12] doesn't support RFC-2317 (Classless
IN-ADDR.ARPA delegation)

From FreeBSD-3.2 (I checked this on 4 machines)
=========================================================
bash-2.03$ host 212.109.34.132
132.34.109.212.IN-ADDR.ARPA is a nickname for
132.34.109.212.cscd.lviv.ua
=========================================================
From FreeBSD-2.2.8 (this is the right ansver)
=========================================================
bash-2.02$ host 212.109.34.132
Name: extra.gc.lviv.ua
Address: 212.109.34.132
Aliases:

bash-2.02$
=========================================================

Different FreeBSDs resolves the same IP in different ways!

Ok, turn on debug information on 3.2
=========================================================
host -d -v 212.109.34.132
;; res_mkquery(0, 132.34.109.212.IN-ADDR.ARPA., 1, 12)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30587
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      132.34.109.212.IN-ADDR.ARPA, type = PTR, class = IN
;; Querying server (# 1) address = 195.5.56.19
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30587
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
;;      132.34.109.212.IN-ADDR.ARPA, type = PTR, class = IN
132.34.109.212.IN-ADDR.ARPA.  9h25m52s IN CNAME 
132.34.109.212.cscd.lviv.ua.
132.34.109.212.cscd.lviv.ua.  14h37m49s IN PTR  extra.gc.lviv.ua.
cscd.lviv.ua.           23h31m46s IN NS  ns.cscd.lviv.ua.
cscd.lviv.ua.           23h31m46s IN NS  ns.lviv.gu.net.
ns.cscd.lviv.ua.        23h31m46s IN A  195.5.56.1
ns.lviv.gu.net.         11h38m41s IN A  195.123.17.1
rcode = 0 (Success), ancount=2
The following answer is not authoritative:
132.34.109.212.IN-ADDR.ARPA     33952 IN        CNAME  
132.34.109.212.cscd.lviv.ua
132.34.109.212.cscd.lviv.ua     52669 IN        PTR     extra.gc.lviv.ua
For authoritative answers, see:
cscd.lviv.ua    84706 IN        NS      ns.cscd.lviv.ua
cscd.lviv.ua    84706 IN        NS      ns.lviv.gu.net
Additional information:
ns.cscd.lviv.ua 84706 IN        A       195.5.56.1
ns.lviv.gu.net  41921 IN        A       195.123.17.1
================================================================

But it has all information necessary to sucessful resolving.
132.34.109.212.IN-ADDR.ARPA.  9h25m52s IN CNAME 
132.34.109.212.cscd.lviv.ua.
132.34.109.212.cscd.lviv.ua.  14h37m49s IN PTR  extra.gc.lviv.ua.
                                                ^^^^^^^^^^^^^^^^^ here's
the ansver!

Can anyone comment this situation?

Vadim Chekan.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3805A15A.FFA7934D>