Date: Thu, 14 Oct 1999 20:05:43 +0200 From: Vadim Chekan <vadim@gc.lviv.ua> To: "Jeffrey J. Mountin" <jeff-ml@mountin.net> Cc: "stable@FreeBSD.ORG" <stable@FreeBSD.ORG> Subject: Re: Resolver in FreeBSD-3.[12] is broken? Message-ID: <38061B77.80B72974@gc.lviv.ua> References: <Pine.BSF.4.02A.9910140809430.25661-100000@shell.uniserve.ca> <3.0.3.32.19991014113030.0153bd30@207.227.119.2>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38061B77.80B72974>