Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Angry 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.

  2. #2
    Linux 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

  3. #3
    Linux 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?

  4. $spacer_open
    $spacer_close
  5. #4
    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?

  6. #5
    Linux Newbie
    Join Date
    Jan 2007
    Location
    Cupertino, CA
    Posts
    157
    Quote Originally Posted by JustinK101
    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?

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •