You are not logged in.

#1 2020-10-25 14:38:10

evilbyte
Member
Registered: 2020-10-25
Posts: 4

Sometimes I'm not able to resolve hostnames.

Well, sometimes when I'm browsing the internet, I'm unable to resolve website's hostname for some reason, I have to wait for few minutes and it will get fixed by itself, I also noticed it tends to break when I'm doing more dns requests or when I accidently press several times ctrl + f5. In the state of resolving hostname, I cannot even ping the website by it's IP address. As I write this, it happens again, I tried to ping archlinux.org and it returned: Temporary failure in name resolution
I'm using cloudflare dns resolver: 1.1.1.1 and also 1.0.0.1. Im on lts kernel 5.4.72-1 and running NetworkManager.

Offline

#2 2020-10-25 15:11:39

seth
Member
Registered: 2012-09-03
Posts: 51,299

Re: Sometimes I'm not able to resolve hostnames.

Sanity check:

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Offline

#3 2020-10-25 15:36:55

evilbyte
Member
Registered: 2020-10-25
Posts: 4

Re: Sometimes I'm not able to resolve hostnames.

dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire.socket                          | sockets.target.wants
postgresql.service                       | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
sshd.service                             | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants

Offline

#4 2020-10-25 15:40:46

seth
Member
Registered: 2012-09-03
Posts: 51,299

Re: Sometimes I'm not able to resolve hostnames.

*Only* networkmanager - good ;-)

Please post, in code tags, a complete system journal, covering at least one incident (sudo journalctl -b)
https://bbs.archlinux.org/help.php#bbcode

("cannot even ping the website by it's IP address" means that this is NOT a DNS issue)

Offline

#5 2020-10-26 18:30:41

evilbyte
Member
Registered: 2020-10-25
Posts: 4

Re: Sometimes I'm not able to resolve hostnames.

After changing a DNS resolver from CloudFlare to some other DNS provider, I didn't see any occurrence of it. I think it was caused by CloudFlare itself because of their DDOS protection or something like that, anyway thank you for your help seth, you are true legend.

Offline

#6 2020-10-26 20:07:40

seth
Member
Registered: 2012-09-03
Posts: 51,299

Re: Sometimes I'm not able to resolve hostnames.

This would not explain the inability to ping an IP.

As for DOS (you're not getting the other "D" w/ a single system ;-)
Maybe some conky script that contacts some domain on a high frequency?

Offline

#7 2020-10-26 21:18:25

evilbyte
Member
Registered: 2020-10-25
Posts: 4

Re: Sometimes I'm not able to resolve hostnames.

I started wireshark, before that I killed every single process which may interfere with my network, also checked for established sockets, everything was down. But for some reason I have been doing DNS requests, it's really weird because last time when I have been checking my network traffic, I didn't see anything like that. Probably I'm missing something and it may be normal but to me, it looks weird that I'm making DNS requests for no reason.
URL

Last edited by evilbyte (2020-10-26 22:26:39)

Offline

#8 2020-10-26 22:07:56

seth
Member
Registered: 2012-09-03
Posts: 51,299

Re: Sometimes I'm not able to resolve hostnames.

Please replace the oversized image w/ a link.
You can look into the DNS packages to check which domain is actually queried, maybe this gives you a hint as to what makes those inquiries.

Offline

Board footer

Powered by FluxBB