Skip to content

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.com can be extremely slow, especially the first ping, but also at random other pings. strace is showing to be stuck at ppoll([{fd=5, events=POLLIN}], 1, {tv_sec=119, tv_nsec=999936000}, NULL, 8^C) = ? ERESTARTNOHAND (To be restarted if no handler). Note that time always is in the range of 5ms, sometimes up to 20ms, so nothing strange there. ping just seems to get stuck
  • ping 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 .
5 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 86% up
Kind
Text
ID
oe87rw

Author

12
posts
22
comments
0
media
View profile

1 comment

Try add a line in /etc/hosts that resolves play.google.com to 172.217.192.138. Or try a VPN.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.