Menu

DNS not resolving on desktop, all other network clients work fine

Networking
2023-07-19
2023-10-22
  • Jay Swenberger

    Jay Swenberger - 2023-07-19

    SOLVED!!!!
    Hello All,
    I just returned from a few days away and booted my desktop. No problems with that but I have no internet access, wired or wireless. All the other devices in the house work fine. I've reset the modem and router...no changes. Ping 8.8.8.8 is good, ping www.google.com does not resolve. I tried switching the DNS server from the ISP automatic to Google but no change.

    Everything worked fine 4 days ago when I shut down. Thought?

    ps: typing this out on a tablet really sucks!!!

     
    ❤️
    1

    Last edit: Jay Swenberger 2023-07-23
  • Jay Swenberger

    Jay Swenberger - 2023-07-19

    Sorry, I updated to Pep 11 a few weeks ago , no issues until now

     
    ❤️
    1
  • Jay Swenberger

    Jay Swenberger - 2023-07-22

    Any thoughts?

     
    ❤️
    1
  • Jay Swenberger

    Jay Swenberger - 2023-07-22

    I've finally had some time to do some digging (definitely a newbie in Linux) and online reading.
    Here are some findings - typed out on this different machine (typos are mine):

    /etc/nsswitch.conf
    hosts: files mdns4_minimal (NOTFOUND=return) dns

    /etc/resolv.conf

    Generated by NetworkManager

    nameserver ::1

    /etc/hosts

    Standard host addresses

    127.0.0.1 localhost
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    This host address

    127.0.1.1 jollymon

     

    Last edit: Jay Swenberger 2023-07-22
  • Jay Swenberger

    Jay Swenberger - 2023-07-22

    When looking at my unaffected laptop running Pep 10, I see these differences:

    /etc/resolv.conf
    nameserver 127.0.0.53
    options edns0

    /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 aspire5

     
  • Jay Swenberger

    Jay Swenberger - 2023-07-22

    So I'm able to temporarily solve the problem by directly editing the /etc/resolv.conf file. However, when trying to change any network connection settings or on rebooting the computer, my entries are over written and returned to:

    nameserver ::1

    I've edited the ethernet IPv4 connection setting to Automatic (DHCP) addresses only and added 8.8.8.8 and 8.8.4.4 as the DNS servers...but this doesn't help.

     
  • Jay Swenberger

    Jay Swenberger - 2023-07-23

    SOLVED!!! with this link https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/

    short answer: 1. install resolvconf utility 2. edit /etc/resolvconf/resolv.conf.d/head with desired nameserver entries!!!

    Jay

     
    🎉
    1
    ❤️
    1
    • Adam Hughes

      Adam Hughes - 2023-10-22

      So glad you found a solution. :) We were all new to Linux once, but through reading and us all having a chat, we can usually sort most problems out.

       

Log in to post a comment.