Debugging internet/DNS trouble in Chile (glass fiber and through mobile broadband)
I've been having an unstable connection for some time now so I decided to get a glass fiber connection to the house, but problems persist and I'm thinking it might be OR my computer OR global network failure or surveillance (tinfoil hat moment) here in Chile. I want to make sure it is not my device that it the problem, I don't think so because a Windows computer we have is also slow at times. I have suspected that using Stremio (torrenting movie player) was causing trouble, seeming to block or delay DNS requests for up to minutes when browsing. However, other instances I have suspected Slack instead as well, and now I'm not sure.
My diagnose is as follows:
ping google.comcan be extremely slow, especially the first ping, but also at random other pings.straceis showing to be stuck atppoll([{fd=5, events=POLLIN}], 1, {tv_sec=119, tv_nsec=999936000}, NULL, 8^C) = ? ERESTARTNOHAND (To be restarted if no handler). Note thattimealways is in the range of 5ms, sometimes up to 20ms, so nothing strange there.pingjust seems to get stuckping 172.217.192.138, which google.com resolves to, is very fast and shows no delays
Logically, this seems like a DNS issue which (seems to) persists to other computers on the network as well. I've also connected my Linux with my phone's network using either WiFI hotspot or through a USB tethered connection, here as well have I seen long delays in connecting to websites. Weirdly, the phone didn't seem to have so much trouble itself. It seems especially slow to foreign domain names, though here in Chile more distant servers also show huge slowdown on DNS requests. It also fluctuates, sometimes we have a good few days, or a bad few days. Perhaps the network is over-saturated here in Chile?
What can I do to debug this issue, what would you recommend me to try? Is it possible that Chile is limiting requests or is this likely a local issue?
It seems only ipv4 is working (can trying ipv6 interrupt?). I'm using NetworkManager and systemd-resolve with /etc/resolv.conf symlinked to /run/systemd/resolve/resolve.conf (which is not stub mode which I tried earlier). /etc/resolv.conf has the following content:
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 2606:4700:4700::1111
# Too many DNS servers configured, the following entries may be ignored.
nameserver 2606:4700:4700::1001
nameserver 192.168.1.1
search .
About this post
- Posted
- Archived
- Score
- 5 · 86% up
- Kind
- Text
- ID
- oe87rw
1 comment
Try add a line in /etc/hosts that resolves play.google.com to 172.217.192.138. Or try a VPN.