Niall O Broin wrote:
>> I have two machines networked together, each running a reasonably standard
> install of RH5.2. Ping from A to B works just fine as you'd expect from 2
> machines on one 10M piece of RG-58 :-) However, I have a funny when I rsh from
> A to B - I have to wait a long time (minutes) before getting a prompt (both
> machines have appropriate .rhosts files for the relevant users). When I rsh
> from B to A I get the promt from A immediately. Both machines have specified
> as name servers machines which they can't reach when they're not connected to
> my provider, but each has no problem resolving the other's name - no delay when
> I ping for instance. They each also have a different search domain specified in
> resolv.conf (as one will eventually live elsewhere) but if name lookup is the
> source of the problem, why doesn't if affect ping ?
Does revolve.conf specify 'order hosts bind', and if so, does the hosts
file on B list machine A?
If not, RH5.{0|1|2} defaults to doing a reverse lookup on connecting
machines,
and the prompt will only appear after the lookup fails. However, it's
odd that the ping resolve works both ways :-/
Vin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!