Slow down connections with network utilities
Hi every body!!
I have the following problem: network connections are only very speedy with the FQDN. If I use the machine short name the connection is slow, i.e.: ssh machine.domain.com -> fast ssh machine -> slow but ping machine -> fast /etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts, /etc/host.conf are correctly configured. /etc/resolv.conf has propertly configured "nameserver", /etc/nsswitch.conf hast "hosts: db files dns nisplus", /etc/hosts has configured short and FQDN of "machine", /etc/host.conf has "order hosts, bind" Why is so slow the "short name" connection??? |
can you show us your resolv.conf files?
there's a "search" line in it, that should be like "domain.com", this line tell your box what to add to the "short" when trying to locate an incomplete hostname (well I think that's the purpose lol) |
Yes, /etc/resolv.conf has a line "domain domain.com" and another one "search domain.com"
|
aye I don't think you should have both of these lines... domain is the old standard I believe, it is not the same.
Maybe you should try to remove one? :) |
That does not solve the problem. I left only the line "search domain" and it is the same.
|
eeeh what's your network architecture?
Are you using a router, a NAT or something like this? often, slow connection is due to fragmentation.. I don't see how it could happen only with long host name, but... setting your MTU lower than 1500 might help... Also, is your "/etc/hosts" file correct? maybe there's some syntax mistakes in it slowing down the process (or maybe the file is damn too long). Anything that can lead us on the right way in the log maybe (client and dns server, if you have access to it) |
All times are GMT -5. The time now is 09:57 PM. |