Date: Tue, 23 Sep 1997 22:52:35 -0700 (PDT) From: Dmitry Kohmanyuk <dk@dog.farm.org> To: haskin@ptway.com (Brian Haskin) Cc: freebsd-hackers@freebsd.org Subject: Re: r-cmds and DNS and /etc/host.conf Message-ID: <199709240552.WAA02858@dog.farm.org>
next in thread | raw e-mail | index | archive | help
In article <34287531.FB18FE1F@ptway.com> you wrote: > > > In article > > <199709222122.RAA02406.kithrup.freebsd.hackers@lakes.dignus.com> you > > write: > > > > What's strange is that things on the gateway machine seem to > > access > > > >the local network (presumably using /etc/hosts) just fine. It's > > > >only rlogin's to the gateway machine from the internal network > > > >that are causing the problem... > > > > I have also seen this going to a gateway. Both machines are running > 2.2.2-RELEASE. Sorry I don't have any more info right now. I have just tested this on two machines, client running 2.2-old and server running 2.2.2-R. The bug is there, in rlogind or libraries it uses. How to test: on server machine, put 127.0.0.1 into resolv.conf; start named; run tcpdump -l -i lo0 -s 512 now rlogin from your client. see queries going to local nameserver on server machine. in my case, these are: # tcpdump -l -i lo0 -s 512 tcpdump: listening on lo0 22:53:50.569483 localhost.1319 > localhost.domain: 31153+ A? dog.stranger.com. (34) 22:53:50.570916 localhost.domain > localhost.1319: 31153 NXDomain* 0/1/0 (87) 22:53:50.572942 localhost.1320 > localhost.domain: 31154+ A? dog. (21) 22:53:50.573687 localhost.domain > localhost.1320: 31154 NXDomain* 0/0/0 (21) so, server tried to resolve names `dog.stranger.com.' - note the trailing dot - and then `dog.' (dog is client machine; stranger.com is domain). None of those are in hosts, of course. -- /earth is 98% full ... please delete anyone you can.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709240552.WAA02858>