From owner-freebsd-stable Thu Oct 14 10:12:15 1999 Delivered-To: freebsd-stable@freebsd.org Received: from extra.gc.lviv.ua (extra.gc.lviv.ua [212.109.34.132]) by hub.freebsd.org (Postfix) with ESMTP id 3839D150BF for ; Thu, 14 Oct 1999 10:12:05 -0700 (PDT) (envelope-from vadim@gc.lviv.ua) Received: from gate.gc.lviv.ua (gate.gc.lviv.ua [192.168.168.18]) by extra.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id UAA55481; Thu, 14 Oct 1999 20:12:03 +0300 (EEST) Received: from gc.lviv.ua (intra.lviv.gc.com.ua [192.168.1.93]) by gate.gc.lviv.ua (8.9.3/8.9.3) with ESMTP id UAA24782; Thu, 14 Oct 1999 20:12:03 +0300 (EEST) Message-ID: <38061B77.80B72974@gc.lviv.ua> Date: Thu, 14 Oct 1999 20:05:43 +0200 From: Vadim Chekan Organization: Galitsky Kontrakty X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: "Jeffrey J. Mountin" Cc: "stable@FreeBSD.ORG" Subject: Re: Resolver in FreeBSD-3.[12] is broken? References: <3.0.3.32.19991014113030.0153bd30@207.227.119.2> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Jeffrey J. Mountin" wrote: > > At 06:47 PM 10/14/99 +0200, Vadim Chekan wrote: > >Tom wrote: > >> > >> On Thu, 14 Oct 1999, Vadim Chekan wrote: > >> > 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 > >> > >> IN-ADDR DNS for that block is definitely screwed up, because I can't > >> even get an answer from here. > > > >What do you mean? "host 212.109.34.132" doesn't do any output for you? > > "Host not found" or "Operation timed out" depending on what tool is used. ?!! I 've checked just now from http://www.debug.net/connectivity/?212.109.34.132 [cut] 20 extra.gc.lviv.ua (212.109.34.132) 298.678 ms 287.699 ms 289.518 ms It resolved this IP right! Woops! My own traseroute works fine! this means that resolver library is Ok. ====== > traceroute 212.109.34.132 traceroute to 212.109.34.132 (212.109.34.132), 30 hops max, 40 byte packets [cut] 3 extra (212.109.34.132) 6.965 ms 7.000 ms 6.820 ms ====== > > >> Also, "host" in 3.2 can find CNAMEs, so it does not follow the CNAME. I > >> think it does an ANY search. > >> In this case, the "CNAME" has been followed. Probably because "host" > >> did a PTR search instead of any ANY search. > >> > >> Whether "host" follows the CNAME or not is irrelevant. gethostbyname() > >> should still do the right thing. > > Yep. > > >So this is just strange behavior of 'host'? > >If I understund right this is rather bind issue, not FreeBSD so that > >I'll move to more appropriate maillist :) > > Repeatable with dig and nslookup as well. Using 'host' should work, so > most likely something is wrong the configuration. Using 'dig' didn't turn > up any authoratative servers, which is a big hint. > > FYI, something changed since a response is now given. Still doesn't look > right. Why it gives a "nickname for" rather than a "domain name pointer" > might be a clue. > host -t ptr 212.109.34.132 132.34.109.212.IN-ADDR.ARPA is a nickname for 132.34.109.212.cscd.lviv.ua But as shows 'host -v -d -t ptr', host gets both ansvers 132.34.109.212.IN-ADDR.ARPA 2402 IN CNAME 132.34.109.212.cscd.lviv.ua 132.34.109.212.cscd.lviv.ua 21119 IN PTR extra.gc.lviv.ua but it chouse to show first one, not type of which I specifed (-t ptr). is this a 'host' bug? Vadim Chekan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message