Browsers keep saying "Server not found"

So on my desktop the internet refuses to work properly. I clicked the menu on the panel and logged into my network. Using both Firefox and Konqueror and testing the openSUSE search page (default home page), Google, and Twitter, I got the “Server not found” error. No website is working yet openSUSE says I am connected. I am using other devices on the network (such as my laptop also on 42.1, my iPod Touch, my Android, etc) and they all work fine.

What’s the output from these commands:

ls -l /etc/resolv*
tail /etc/resolv.conf

The first command outputs

-rw-r--r-- 1 root root 795 Dec 1 17:30 /etc/resolv.conf

The second one outputs the NETCONFIG_DNS_POLICY

You apparently don’t have a DNS server defined.

Normally, you would pick one up via DHCP. If you manually configure your network (instead of using DHCP), then you also need to manually configure a DNS server. You can do that in Yast Network Settings.

How do I get one using DHCP?

Inspect your dhcp client settings.
They must all be <empty>.
In your DNS settings in particular, click in the form entry boxes and hit backspace to make sure there aren’t invisible spaces, tabs, hard to see characters like periods.

If you think your DHCP settings are very correct, then restart your network service to refresh (ask the DHCP server again) for settings with the following command in a root console

systemctl restart network

This all assumes of course that you don’t have something unusual configured on your network like a web proxy.

Additional troubleshooting, use nslookup to verify DNS is available and working on your network.
If you know what your DNS should be, then

nslookup

Then, some FQDN like

www.opensuse.org

If you don’t get an IPv4 or IPv6 numerical address, then the following displays your current configured DNS server

server

You can re-point your DNS server to something else, like Google’s public DNS servers with the following command

server 8.8.8.8

And run the above test resolving a common FQDN again, this time unless you’re blocked you should receive a non-authoritative result

www.opensuse.org

HTH,
TSU