Results 1 to 5 of 5
Running CentOS 4.4. Whenever I go to a web URL or do any network activity outside of the LAN the lookup is extremely slow on the server. It takes from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-29-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 28
Slow Internet Lookups Not Connection
Running CentOS 4.4. Whenever I go to a web URL or do any network activity outside of the LAN the lookup is extremely slow on the server. It takes from 3 - 10 seconds. Once it looks up though the speed is good, for example I can download files at 150KB a second. At first I though it was my firewall/router, but none of the other computers are experiencing this problem. I looked at the internal firewall built into CentOS and as I confirmed it is disabled, also Linux Enhanced Security is also disabled. Does any body have a clue what is going on? This didn’t use to happen.
This happens not only for HTTP traffic. For example, when I remote SSH into the sever it pops up the username and password field instantly, but it takes 5 - 10 seconds to authentic and show the prompt. This didn’t use to be the case, it used to authentic almost instantly.
Thanks for any help, comments.
- 01-29-2007 #2Linux User
- Join Date
- Aug 2006
- Location
- Croydon, PA
- Posts
- 392
You may want to look at the configuration of the NIC.
Do:
ethtool eth0
Make sure "autoneg is off", "Duplex is full" and "speed is 100"
If not use ethtool to set them.Good Luck,
Ski
RHCT
- 01-30-2007 #3Linux Newbie
- Join Date
- Jan 2007
- Location
- Cupertino, CA
- Posts
- 157
Sounds like it could be your dns config. Can you make sure the nameservers listed in your /etc/resolv.conf file are accessible?
- 01-30-2007 #4Just Joined!
- Join Date
- Jan 2007
- Posts
- 28
Here is the contents of my /etc/resolv.conf file:
; generated by /sbin/dhclient-script
nameserver 192.168.0.1
That ip address is the ip address of our hotbrick router. Is that right?
- 01-30-2007 #5Linux Newbie
- Join Date
- Jan 2007
- Location
- Cupertino, CA
- Posts
- 157
Originally Posted by JustinK101
Should be ok if the router has DNS server running or has a dns forwarder. You can try replacing the address with that of your ISP's DNS server and see if that improves ur lookup times.


Reply With Quote
