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

Thread: DNS problems

  1. #11
    Join Date
    Sep 2006
    Location
    Solihull/Piraeus (UK/GR)
    Beans
    421
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: DNS problems

    Quote Originally Posted by dmizer View Post
    if you do this, then you will break local name resolution. i assume you have winbind installed?
    That's why I said "just as an experiment". It will also tell you if there is something broken with mdns/wins causing one of them to return not found or similar problem.

    Quote Originally Posted by dmizer View Post
    this really looks like a router problem.
    I don't know why you would think that, if there are other machines working fine off the same router...but that's just my opinion.

  2. #12
    Join Date
    May 2008
    Location
    New Zealand
    Beans
    28
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: DNS problems

    Just as an experiment, try moving dns higher up the order in nsswitch.conf:

    Code:
    hosts: files dns mdns4_minimal wins [NOTFOUND=return] mdns4
    I've done this and functionality has returned to everything I've tested so far. This is looking good - is there more to do here?

    yes -winbind is installed
    Last edited by rothbert; June 26th, 2008 at 08:44 AM.

  3. #13
    Join Date
    Sep 2006
    Location
    Solihull/Piraeus (UK/GR)
    Beans
    421
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: DNS problems

    Quote Originally Posted by rothbert View Post
    is there more to do here?
    Yes, put it back then find the actual problem

    Actually, first let's see which one breaks it - mdns or wins?

    Try taking wins out completely:

    Code:
    hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
    Also, check to see if this file exists:

    Code:
    cat /etc/mdns.allow
    Normally it doesn't, but if it did, potentially it could have something in there telling mdns that it has authority for domains other than .local which might cause this behaviour.
    Last edited by wdaniels; June 26th, 2008 at 08:53 AM.

  4. #14
    Join Date
    May 2008
    Location
    New Zealand
    Beans
    28
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: DNS problems

    OK, /etc/mdns.allow doesn't exist.

    I took wins out and put dns back to original spot and all was functioning.

    The other user (now here) has noticed that both this box and the XP box thought they were the master browser on the network (apparently this has happened before) and he has stopped the XP box trying to be the master browser.

    We then put wins back in to nsswitch.conf (so original configuration) and things seem to be working again. Looks like that may have been the issue.
    But unclear as to how that caused this problem and why at this time.

  5. #15
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: DNS problems

    Quote Originally Posted by wdaniels View Post
    I don't know why you would think that, if there are other machines working fine off the same router...but that's just my opinion.
    just for the record, lots and lots of past experience tells me that even though other computers are working fine, the problem is still often the router. here's a very recent case in point: http://ubuntuforums.org/showpost.php...9&postcount=39

    looks like you're well on your way to solving this though.

  6. #16
    Join Date
    May 2008
    Location
    New Zealand
    Beans
    28
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: DNS problems

    Still have a few network issues to sort, but things seem to be checking out OK. Thanks to you both for your time on this. Some pointers to get us thinking and looking in the right places was exactly what was needed.
    Cheers :-)

  7. #17
    Join Date
    Apr 2007
    Location
    Mallorca, Spain
    Beans
    46
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DNS problems

    I seem to be struggling with a very similar problem. I used to use a Vigor2600G Router with Telefinica in Spain. I have a mixed Win / Linux network and used to have no problems.

    I recently upgraded from a 3Mb connection to a 10Mb connection. Telefonica supplied a new router (Amper X7868r) and as soon as I connected it at the 3Mb speed web surfing on Linux became unbearable because DNS lookups took forever. Windows was slower than before but just usable.
    Re installing the Vigor (not Telefonica supplied) and using the new DNS servers restored full speed.
    I then found out that the Vigor only works up to 8Mb/s so as soon as my 10 Mb connection was made all web use had to be done with the Amper. Hence frustration. The Amper tends to stop it's wireless as soon as it gets hot so I do not trust it anyway.

    Turning off all Win machines does not improve things. So I am looking for an alternate router. Any suggestions?

    Colin
    Computers are incredibly fast, accurate and stupid.
    Humans are incredibly slow, inaccurate and brilliant.
    Together they are powerful beyond imagination.

  8. #18
    Join Date
    May 2008
    Location
    New Zealand
    Beans
    28
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: DNS problems

    Update: with this configuration -
    Code:
    hosts:          files mdns4_minimal wins [NOTFOUND=return] dns mdns4
    We have internet functioning only now.

    reverting to this -

    Code:
    hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
    everything seems to work normally again.

    Is leaving 'wins' out going to cause problems?

  9. #19
    Join Date
    Sep 2006
    Location
    Solihull/Piraeus (UK/GR)
    Beans
    421
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: DNS problems

    I can see that broken WINS might cause the browsing functions to screw up, but what you're reporting suggests the reverse if anything and I'm not sure how having two machines thinking they're the LMB would cause any interference to WINS functions. Unless WINS managed to break all by itself and then simply forcing a new browser election from the XP box happened to correct some bad cached info somewhere or kick something into life to fix it...?

    I'm afraid I don't know enough about Samba or Windows networking in general to come up with a proper theory about this, but I'm glad that your problem is resolved for now

  10. #20
    Join Date
    Sep 2006
    Location
    Solihull/Piraeus (UK/GR)
    Beans
    421
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: DNS problems

    Sorry, just missed your post when I replied.

    Quote Originally Posted by rothbert View Post
    Is leaving 'wins' out going to cause problems?
    It will mean that the Ubuntu box can't resolve NETBIOS names, that's all. So you would not be able to connect to the XP machine by name, for example.

    But I'm getting a little confused. Are you saying that WINS broke the whole name resolution process again on the Ubuntu box?

Page 2 of 3 FirstFirst 123 LastLast

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
  •