Can no longer connect to web

I have fully updated 42.1 with XFCE.
This evening the system stopped contacting URL web addresses, giving me server not found errors.
I use DHCP to pull addresses from my router.
ifconfig shows my IPv4 and IPv6 address.
I have VirtualBox installed and can access the web from a browser in the guest machine.
When I ping a domain name it gives me the IP.
When I try to access a site via URL, I get server not found if it converts to a URL.
Other machines on the network can access web sites.
All machines are using the same nameservers (Xfinity).
Also, I cannot access my email (Thunderbird).

Can anyone point me in a direction to fix this?

Maybe check “/etc/resolv.conf” to see how DNS queries are handled. Look for the “nameserver” line(s).

And additional to this, you could do a

nslookup forums.opensuse.org

It will no only show you if you can resolve names on the Internet, but also which server is used.

(Oh, and after this is solved and you have some time left, try to find out the difference between “the Web” and “the Internet”. :wink: )

nslookup forums.opensuse.com

Server:          2001:558:feed::1
Server Address:  2001:558:feed::1#53

Non-authoritative answer:
Name:   forums.opensuse.org
Address:  130.57.66.6

resolve.conf


### /etc/resolv.conf file autogenerated by netconfig!
#
#Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 2001:558:feed::1
nameserver 2001:558:feed::2
nameserver 75.75.75.75

I have a “dummy” user on the system. That account has server not found errors also.

Basically it looks fine. You see that you can resolve forums.opensuse.org very well

And your resolv.conf shows in the first line the one used.

Only peculiar thing is that two of the addresses are IPv6 addresses. As you see that works fine with nslookup, but maybe other programs have problems with that.

As a test, you could edit /etc/resolv.conf (as root) and move the last of those three lines to he top of the list. You then will have:

nameserver 75.75.75.75
nameserver 2001:558:feed::1
nameserver 2001:558:feed::2

Then check if that helps.


### Please remove (at least) this line when you modify the file!
nameserver 75.75.75.75
nameserver 2001:558:feed::1
nameserver 2001:558:feed::2

nslookup forums.opensuse.com
Server:        75.75.75.75
Address:    75.75.75.75#53

** server can't find forums.opensuse.com: NXDOMAIN

So you tried as first test with forums.opensuse.com. It can not find it, That is not surprising, because it does not exist. You probably wanted to test forums.opensus.org as you did earlier. O yes, copy/paste is one of the wonders of a desktop ;).

But I am more interested if the other cases were it went wrong are now resolving or not.

nslookup forums.opensuse.org

Server:        75.75.75.75
Address:    75.75.75.75#53

Non-authoritative answer:
Name:    forums.opensuse.org
Address: 130.57.66.6

Still not resolving, still getting Server Not Found.

And I am moving between my physical Opensuse install and a VM. Cut and paste is problematic.

For the copy/paste, then you can only check and re-check I am afraid :frowning:

nslookup can still resolve, but some web browser can not. Is that the situation? Strange.

This led me to rereading the thread. You never told which HTTP client (web browser) you use. Have other web browsers, then the one you normal use, the same problem?

You say you can ping those addresses. Doesn’t that mean that HHTP is blocked somewhere? I have no Virual experience. But can the guest block this?

I am using Firefox, Chromium browsers, Thunderbird email. All can’t resolve servers.
Is there an HTTP/HTTPS swtitch/setting somewhere?

I doubt that has anything to do with the problem. I do blame the Virtualization, but that can be because I do not know much of it.

A primitive but nice test is checking if you can reach port 80 of the server in a very basic way, using telnet:

henk@boven:~> telnet forums.opensuse.org 80
Trying 130.57.66.6...
Connected to forums.opensuse.org.
Escape character is '^]'.



Connection closed by foreign host.
henk@boven:~> 

Above you can see that I can reach the site because of the “Connected to …” answer.
Using telnet I can not do much useful then, and a few hits on the Return key will make the other side close the connection.

When you can not connect, other message will appear or it will timeout. Try with several URLs if you like. And instead of 80 you can try the port for HTTPS 443 when you know a site supports this.

henk@boven:~> telnet forums.opensuse.org 443
Trying 130.57.66.6...
Connected to forums.opensuse.org.
Escape character is '^]'.



^CConnection closed by foreign host.
henk@boven:~>

( I used Ctrl-C to disconnect here after a few Returns did not do that).

I did a fresh install of 42.2. Unfortunately, it was after a Debian install. The 42.1 install got all confused because the placement of GRUB was different in Deb. Anyway, it stopped booting, going into the Ctrl-D thing for maintenance. At any rate, I now have a fresh 42.2 install.

Thanks for the offers of help.

As I suspected, this post confirms you don’t have a DNS or IP routing problem.

If more than one web browser is affected,
Then I suspect that someone in your network deployed a web proxy or your hosts file is misconfigured (malware? mistake?).

First open your /etc/hosts file and verify there aren’t any entries that don’t belong there. If you haven’t intentionally added anything, it should contain only entries for your localhost and possibly your machine’s hostname.

Then, within each and any web browser, find your web proxy settings which is generally in a section that’s similar to “Advanced Settings > Network Connections”
Typically the default is for web proxy configurations to be checked/enabled.
<Uncheck> the box to disable the setting.
Then, close all browser windows and re-open to a website.
Of course, this assumes that no one is now blocking direct HTTP connections to the Internet…

HtH,
TSU