Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Strange dns problem with 'Non-authoritative answer'

  1. #1
    Join Date
    Nov 2007
    Beans
    32
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Strange dns problem with 'Non-authoritative answer'

    I have this scenario happening to me several times a day:

    While browsing, suddenly I just get an error page from my browser saying cannot find server/site or something similar.
    For a few seconds refreshing the page will just give me the same error and then suddenly it all works again.

    If I hurry to a shell when i get this error and do a nslookup it will give me an 'Non-authoritative answer' but with the right IP address.

    Then I just repeat the nslookup until the 'Non-authoritative answer' line disappears, then I know I can go back to my browser and everything will be ok again.

    Reading about 'Non-authoritative answer' it shouldnt be a problem?
    But everything dns related just stops on my machine while I get this line.

    Examples:

    When things are not working I get this:

    claes:~/tmp$ nslookup www.vg.no
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Non-authoritative answer:
    Name: www.vg.no
    Address: 195.88.55.16
    Name: www.vg.no
    Address: 195.88.54.16


    When things are working I get this:

    claes:~/tmp$ nslookup www.vg.no
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Name: www.vg.no
    Address: 195.88.54.16


    Any ideas welcome.
    Last edited by farbror_ace; August 17th, 2012 at 12:25 PM. Reason: spelling

  2. #2
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Strange dns problem with 'Non-authoritative answer'

    "Non-authoritative answer:" is indeed no problem.

    My advice: use 8.8.8.8 as your first nameserver

  3. #3
    Join Date
    Jun 2007
    Location
    in a quiet café somewhere
    Beans
    122
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Strange dns problem with 'Non-authoritative answer'

    Or 8.8.4.4, both are Google DNS servers. Reliable, fast.

    However some people have some privacy concerns using Google DNS servers [ as Google gets aware of what your IP is resolving at any time [ except when it's in the cache of course ] ]

  4. #4
    Join Date
    Nov 2007
    Beans
    32
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Strange dns problem with 'Non-authoritative answer'

    Im really not familiar with the new DNS system, where is the 'best practice' place to do this override? (Im using DHCP)

  5. #5
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Strange dns problem with 'Non-authoritative answer'

    Quote Originally Posted by farbror_ace View Post
    Im really not familiar with the new DNS system, where is the 'best practice' place to do this override? (Im using DHCP)
    ... in ... your modem! Then all devices will get that 8.8.8.8 setting via DHCP.
    Last edited by sanderj; August 20th, 2012 at 11:12 AM.

  6. #6
    Join Date
    Nov 2007
    Beans
    32
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Strange dns problem with 'Non-authoritative answer'

    Yea.. you see this is a work computer and none of my windows companions has my problems.
    And I highly doubt my entire organisation is going to swap DNS-provider because of me.

    Edit: To clarify where in the new resolvconf setup of ubuntu 12-> is this best to do?

  7. #7
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Strange dns problem with 'Non-authoritative answer'

    Quote Originally Posted by farbror_ace View Post
    Yea.. you see this is a work computer and none of my windows companions has my problems.
    Oh? If so, there is no DNS problem, I would say.

    Can it be a network problem? If you keep "ping 8.8.8.8" running, do you get good responses all the time?

  8. #8
    Join Date
    Nov 2007
    Beans
    32
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Strange dns problem with 'Non-authoritative answer'

    Yes my network is ok during the entire duration.
    Eg. ping on ip-addresses will work but namebased network operations will not.

  9. #9
    Join Date
    Nov 2007
    Beans
    32
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Strange dns problem with 'Non-authoritative answer'

    Ill read up on how to override DNS-servers in the new architecture and report back how it works.
    Editing resolve.conf doesnt do it for me atm, my entries keep disappearing.

  10. #10
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Strange dns problem with 'Non-authoritative answer'

    Just disable DNSMASQ and go on with your life.
    http://ubuntuforums.org/showpost.php...2&postcount=40
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Page 1 of 2 12 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
  •