Skip to content

[PSA] I had slow Steam download speeds. I fixed it with dnsmasq.

I've got a 16Mbps down connection. Game downloads/updates in Steam would start at ~4Mbps, and then throttle down to ~20Kbps.

I lived with this for a few months, as I couldn't find a fix (tried a few things, to no avail).

Today, I decided to look into it again. I found this old-ass post.

I installed and configured dnsmasq, following the lovely archwiki, and bam, problem solved.

UPDATE: Good lord, after 24 hours of using my box post-fix, EVERYTHING is better. Websites load way faster (I can actually feel the improvements of Firefox's Quantum now), Steam doesn't take forever to launch, Spotify and Steam-wine actually launch now, rather than just hang. Torrents initialise much faster.

I am such an idiot for not realising there was a problem earlier. This is fucking awesome though; feels like I got launched into the future. Year of the Linux desktop for me 110%, lol.

Edited 10 Mar 2018. We only hold this version.

87 points15 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
87 · 100% up
Kind
Text
ID
8342sh

Author

73
posts
1.2k
comments
22
media
View profile

18 comments

Does systemd-resolved resolve the problem as well?

(This only works with systemd-networkd or NetworkManager; AFAIK no other managers can supply systemd-resolved with configuration yet.)

  • Ensure "resolve" is enabled in /etc/nsswitch.conf (the default one has this)
  • Enable and start systemd-resolved
  • Replace /etc/resolv.conf with a symlink to /run/systemd/resolve/stub-resolv.conf
  • Restart NetworkManager (or systemd-networkd)
7 points

Any caching DNS resolver fixes the problem if I understand correctly

5 points
unknown author

systemd-resolved is an awful piece of software, any time I've had it running it caused many more issues than it was worth.

2 points

It's a great idea to install dnsmasq anyway, to shave off a few dozen milliseconds off the load time of every web page

4 points

Yep! I swear I can feel a noticeable improvement.

1 points

I use unbound for years now, but the idea of running a local caching DNS resolver is brilliant for security, ad blocking, speed, etc.

1 points

So Valve is shipping a DNSDOS application and hasn't fixed it in 4 years of knowing about it.

Sounds about right.

3 points

Who has their isps resolvers configured directly on their PCs anyways. I always resolve via my wifi router. A lot of residential ISP resolvers are just crap anyways.

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.