Bill Jonas on Fri, 11 Oct 2002 19:02:23 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] a to b slow, c to b fast


On Wed, Oct 09, 2002 at 09:07:25AM -0400, Benjamin W. Dugan wrote:
> Do I need to do something with resolv.conf on one of the computers?

No, but you're on the right track.

The most likely cause of the slowdown is that machine B is able resolve
C's hostname from its IP address immediately, but the reverse for A is
not set up properly, so B must wait for the reverse DNS lookup request
to time out.

The best (and "right") way to fix this is to set up the reverse DNS for
A properly on the name server that handles the reverse DNS for that
particular IP block.  If this isn't possible, the quick-and-dirty way to
handle it is to add machine A to B's /etc/hosts file.  Note that a few
programs (Sendmail comes to mind) do their own name resolution and,
depending on how they do it, this won't work for those.  For standard
stuff like ssh, it should be sufficient.

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin

Attachment: pgp7oPOrCcSCU.pgp
Description: PGP signature