Results 1 to 5 of 5

Thread: Unknown Host - No DNS

  1. #1

    Default Unknown Host - No DNS

    I just upgraded my laptop from 42.2 to 42.3. Everything was working fine under 42.2 using Network Manager. During the upgrade, which I did from the DVD and the installation program, I was able to access the network. After the reboot into 42.3, however, Network Manager cannot find the network. If I switch to Wicked, I can log onto my LAN but can only access the internet using ip addresses. For example if I ping yahoo.com I get the unknown host message. If I ping 98.139.180.149 which is yahoo's ip, the ping is successful so obviously I can reach the internet, but I'm not getting DNS. I've tried setting the DNS server manually to the DNS server I use on my desktop, but no joy. I've tried DHCP which works for every other device on my network, but again no joy. What can I do to get my laptop back on the net?

    Also, I'd like to get Network Manager working again as it is more convenient for when I travel. What's the issue there?

    Thanks for any help.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Unknown Host - No DNS

    First thing you should probably try is to simply configure your machine as a DHCP client, you can do this using Network Manager or not.

    If using Network Manager (and that seems to be your preference), then make sure you're set that way(YaST > Network Settings)
    Then,
    Open Network Manager and Edit what should probably be the only available network connection.
    Make sure all settings are set to use DHCP and save.
    If necessary, restart your network service to activate any network settings changes with the following command
    Code:
    systemctl restart network
    If DHCP service is available, then the above is the simplest and fastest way to be configured.
    Else, you'll have to do some troubleshooting.
    If you have to troubleshoot, it sounds like you have an IP address.
    Next step is to verify you can access a Default Gateway.

    After that, you can specifically troubleshoot nameservers.
    You can use nslookup to test available DNS servers
    Code:
    nslookup
    Within nslookup, the following displays your currently configured DNS server
    Code:
    server
    Within nslookup, the following temporarily changes your DNS server, the following points to a Google DNS server
    Code:
    server 8.8.8.8
    Within nslookup, you can test any internet address for name resolution by simply typing in the FQDN, eg
    Code:
    www.opensuse.org
    After you're done, you can exit by typing "quit"

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,711
    Blog Entries
    1

    Default Re: Unknown Host - No DNS

    Quote Originally Posted by bearymore View Post
    I just upgraded my laptop from 42.2 to 42.3. Everything was working fine under 42.2 using Network Manager. During the upgrade, which I did from the DVD and the installation program, I was able to access the network. After the reboot into 42.3, however, Network Manager cannot find the network. If I switch to Wicked, I can log onto my LAN but can only access the internet using ip addresses. For example if I ping yahoo.com I get the unknown host message.
    I assume you're using DHCP for IP address, gateway and DNS? You probably still have /etc/resolv.conf generated by NetworkManager. Remove it, then
    do
    Code:
    netconfig -f update
    * Can you then resolve successfully by hostname?

    If not, try reconnecting (or just reboot).

    If you want to change back to NetworkManager, change back with YaST, then it should just work (via the default DHCP connection for wired ethernet).

  4. #4

    Default Re: Unknown Host - No DNS

    Quote Originally Posted by deano_ferrari View Post
    I assume you're using DHCP for IP address, gateway and DNS? You probably still have /etc/resolv.conf generated by NetworkManager. Remove it, then
    do
    Code:
    netconfig -f update
    * Can you then resolve successfully by hostname?

    If not, try reconnecting (or just reboot).

    If you want to change back to NetworkManager, change back with YaST, then it should just work (via the default DHCP connection for wired ethernet).
    Thanks a lot! That fixed the problem.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,711
    Blog Entries
    1

    Default Re: Unknown Host - No DNS

    Quote Originally Posted by bearymore View Post
    Thanks a lot! That fixed the problem.
    Glad to have been of help.

Posting Permissions

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