10.1 - resolving hostnames slow for the first time
- From: Jacek K. Błaszkowski <cdlxxvi@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 21:24:36 +0000
Hi,
I have encountered a very strange problem with 10.1 on my laptop. Googling
unfortunately revealed nothing, so I ask for your help.
I have moved to a new flat a week ago, got ADSL with 2Wire 1800HG all-in-one
box (modem+router+wireless AP). Since then, I noticed a massive network
slowdown (not in terms of transfer, which is exactly as my ADSL connection
should be, but in an overall time of i.e. opening a website) - a website
takes like 2 minutes to open (with Firefox spending most of its time
"looking up host...", and stops on the hostname of the website, the
adserver, the imageserver, google adsense, whatever is called from the
site), 30s or something like this when estabilishing SSH connection etc.
Sometimes it even takes so long to resolve something, that I get "temporary
failure in address resolution", "unknown host foo" etc.
The problem is that the system seems to take forever to resolve an IP from
the hostname, then the result gets cached and the hostname is resolved
quickly for some time, then it starts to be painfully slow again.
For example, this is very fast:
macondo:~ # telnet xxx.xxx.xxx.xxx 22
(immediate response)
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx
Escape character is '^]'.
SSH-2.0-OpenSSH_4.3
But this is not:
macondo:~ # telnet some.hostname 22
(about 30 seconds pass...)
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx
Escape character is '^]'.
SSH-2.0-OpenSSH_4.3
What's interesting, when I disconnect and try connecting to the same
hostname again, it's resolved immediately - I assume that the result is
cached for some time locally. After some time the cache is emptied and it
takes forever again.
Unfortunately, I have to assume that this is a SUSE issue, since I have no
such trouble in Windows on the same machine. The router has some diagnostic
tools accessible via WWW interface, including ping and traceroute and it
seems that pinging a hostname from there resolves its name immediately.
Also, my problem happens in SUSE in both wired (SiS900) and wireless
(Broadcom 4318, ndiswrapper, WPA-PSK) case, so I doubt it's the network
card. The system is a pretty standard 10.1, an ordinary desktop
installation with KDE + some development tools. All of it makes me think
that something about the network in my SUSE laptop is either misconfigured
(but worked fine with my old flat with a different router) or buggy.
I would appreciate any ideas and be happy to provide more information (if
anyone points me what to look for).
Thanks in advance,
jkb
--
"'W zasadzie', powiedział kiedyś Koslowski, 'każdy człowiek jest,
subiektywnie rzecz biorąc, nieśmiertelny. O tym, że ktoś umarł, wiedzą
tylko ci, którzy go przeżyli. W każdym razie uważam za rzecz diabelnie
trudną przekonać kogoś, że nie żyje, jeśli on jest nieżywy'." (M. Augustin)
.
- Follow-Ups:
- Re: 10.1 - resolving hostnames slow for the first time
- From: Jacek K. Błaszkowski
- Re: 10.1 - resolving hostnames slow for the first time
- From: houghi
- Re: 10.1 - resolving hostnames slow for the first time
- Prev by Date: how to install with no extra packages
- Next by Date: Zen problem
- Previous by thread: how to install with no extra packages
- Next by thread: Re: 10.1 - resolving hostnames slow for the first time
- Index(es):
Relevant Pages
|