Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Very Slow DNS Resolution

  1. #11
    Join Date
    Apr 2009
    Beans
    11

    Re: Very Slow DNS Resolution

    Quote Originally Posted by t.alex View Post
    take a look at /etc/resolv.conf and play with the servers and see if it makes a difference
    thx, this helped. I had three entries in the list, two of those:
    nameserver 138.188.101.186
    nameserver 138.188.101.189
    removing those fixes the problem, but in the file it says it will overwrite itself, so how can I make this fix permanent?

    thx again!

  2. #12
    Join Date
    Nov 2005
    Location
    Ireland
    Beans
    2,605
    Distro
    Ubuntu Development Release

    Re: Very Slow DNS Resolution

    Quote Originally Posted by marcuskuhn View Post
    thx, this helped. I had three entries in the list, two of those:

    removing those fixes the problem, but in the file it says it will overwrite itself, so how can I make this fix permanent?

    thx again!
    NetworkManager writes these entries. Edit your connection profile, IPv4 tab. Change from "Automatic (DHCP)" to "Automatic (DHCP) addresses only", and enter your DNS information manually. The /etc/resolv.conf should then mirror this setting.

  3. #13
    Join Date
    Apr 2009
    Beans
    11

    Re: Very Slow DNS Resolution

    I allready did that, before my second post I think. It now works and I will report back if it changed back. Otherwise I would be interested where those two DNS-Server IPs came from...

    Best
    Last edited by marcuskuhn; April 20th, 2009 at 09:41 PM.

  4. #14
    Join Date
    Apr 2009
    Beans
    11

    Re: Very Slow DNS Resolution

    I now switched to a new network, the one at my University, and the problem is back, attached my resolv.conf
    Code:
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 138.188.101.186
    nameserver 138.188.101.189
    nameserver 130.82.128.1
    search unisg.ch.
    Any idea where those two DNS-entries are coming from?

  5. #15
    Join Date
    Oct 2006
    Beans
    22

    Re: Very Slow DNS Resolution


  6. #16
    Join Date
    Jan 2005
    Location
    Copenhagen, Denmark
    Beans
    173
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Very Slow DNS Resolution

    Quote Originally Posted by marcuskuhn View Post
    I now switched to a new network, the one at my University, and the problem is back, attached my resolv.conf
    Code:
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 138.188.101.186
    nameserver 138.188.101.189
    nameserver 130.82.128.1
    search unisg.ch.
    Any idea where those two DNS-entries are coming from?
    After you switched to the university connection, did you edit the profile for that connection also?

  7. #17
    Join Date
    Apr 2009
    Beans
    11

    Re: Very Slow DNS Resolution

    Quote Originally Posted by lithorus View Post
    After you switched to the university connection, did you edit the profile for that connection also?
    Yes I did but still had to edit the file manually. And about the OpenDNS suggestion. I already did that before my first post.

    Thx,

    Marcus

  8. #18
    Join Date
    Apr 2009
    Beans
    11

    Re: Very Slow DNS Resolution

    So, just arrived back home, even with the edited Config the two DNS-Server mentioned above reappear in my list and I have to edit them out manually.

    Any suggestions?

    Thx

  9. #19
    Join Date
    Jun 2006
    Beans
    Hidden!

    Exclamation Re: Very Slow DNS Resolution

    I'm having the same problem...

    It started after my first vpnc connection to my work was established - once I connected it correctly added in the dns servers and search domain for my work environment.

    But...
    Now it continues to use these settings, overwriting the file, every time I start up.

    There must be something broken with vpnc, or how network manager gets it's information for generating the 'resolv.conf' file everytime networking is started.

    Help!



    *UPDATE* Ok, this problem has been around since 2006 - and there is much confusion about the correct expectations are for the conditions that cause "resolvconf" to update /etc/resolv.conf

    What _should_ happen - at every startup or when networking is started / stopped on a dhcp'd network computer - the /etc/resolv.conf file should be updated with the information provided by the dhcp server. Period.
    What _DOES_ happen - at least for me - is the information is updated from my dhcp server (correctly) but then it proceeds to add in the information from my last vpnc session (not right) so my dns searches all have to wait for my non-existent work dns servers to time out before checking with my local dns server (router).

    The dns entries for the vpnc connection should only exist when a vpnc connection is active, it should NOT exist when disconnected from the vpnc tunnel.

    One so called "solution" that some have found is to remove the "resolveconf" package... which will stop this updating behavior.

    command line:
    sudo apt-get remove resolvconf

    Note that the above 'fix' actually breaks some functionality, but network-manager can still update resolv.conf file correctly.
    Last edited by jon_herr; April 23rd, 2009 at 12:24 AM. Reason: added "sudo" to command line example

  10. #20
    Join Date
    Jun 2006
    Beans
    Hidden!

    Red face Re: Very Slow DNS Resolution

    For clarity...

    One so called "solution" that some have found is to remove the "resolveconf" package... which will stop this updating behavior.

    command line:
    sudo apt-get remove resolvconf

    Note that the above 'fix' actually breaks some functionality, but network-manager can still update resolv.conf file correctly.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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