Certain websites like Twitter and Reddit are not loading when I try and search them up in any browser. I get a ‘Server Not Found’ error message in the browser. Other websites like YouTube, Google work just fine. What on Earth is going on? I would really appreciate any help.
Note: this is a fedora setup with all updates up to date and running with a network card made for Linux.
Everything I have tried so far:
temporally disabled the system firewall and reconnected, did not work
changed my DNS routing to Google’s (8.8.8.8,…), did not work
connected via Ethernet, did not work
FYI: inputting ‘ping 104.244.42.129’ returns ‘ping: connect: Network is unreachable’
I have attached screenshots of outputs of input (terminal) commands of the following: ‘ip a’, ‘sudo dhclient - wls1’, ‘ping 8.8.8.8’, ‘ping google.com’, ‘curl -v https://twitter.com’
On other devices connected to through the same router, these websites work just fine, so its not an ISP blocking issue. I am so confused?
It looks like the DHCP server is only providing you with an IPv6 address, not IPv4.
For example on my system, when I do ip a, I see both an inet (i.e. v4) and an inet6 on the interface that’s connected to my router. You have only inet6 on yours.
Can you see if the same thing happens on the other devices connected to the same router? Do they have IPv4 LAN addresses, or only IPv6?
Please post terminal output as preformatted text. Text in images is diffult to read on small screen, while posting as text allows others with similar issues to discover this thread with a web search. Since your issue is not specific to Fedora, the wider linux community benefits when the topic can be found with web searches.
Interesting. I must say I’m not sure where to go next, though I suspect the issue might be at the router, since the output of dhclient suggests Fedora is correctly making a request for an IPv4 address.
Is there anything in your router settings that allows different behaviour between wireless and wired clients? (Could IPv4 DHCP somehow be disabled for wireless clients only).
You seem to have an Ethernet interface available (the eno1 in the output of ip a). Are you able to connect via that, and does it let you access the problematic sites?
Hi @pg-tips thank you for your enthusiasm in helping me fix this issue. After assigning a temporary IPv4 to my device (through: sudo ip addr add & sudo ip route add default via) the problem was fixed, although not permanent, it made me realise that DHCP causing the issue. Which brought me to your epiphany, the router.
Upon opening my routers settings I noticed a glaring issue, a lack of a designated IPv4 address for my MAC address. Proceeding, I manually updated the routers IPv4 list, and the problem was fixed.