Did you know openSUSE Tumbleweed has a DNS cache server installed out of the box? Well, it does! It's named dnsmasq and it's really easy to set up. This configuration example uses Cloudflare DNS (free). If you want to use your ISP's DNS or another, just replace the addresses. Update this file /etc/dnsmasq.conf :
no-resolv
server=1.1.1.1
server=1.0.0.1
server=2606:4700:4700::1111
server=2606:4700:4700::1001
cache-size=1000Set Internet connection to use DNS servers 127.0.0.1 and ::1 , for IPv4 and IPv6 respectively, then set Method to Only Addresses for both. You can generally do this by choosing your Wifi or Ethernet connection in the system tray and clicking Configure.
Then run the command sudo systemctl enable dnsmasq to enable it at startup. Followed by sudo systemctl start dnsmasq
To see how well it works, use dig to check a web site you haven't visited in a while:
ā ~ dig google.com @127.0.0.1
; <<>> DiG 9.20.22 <<>> google.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5437
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 254 IN A 142.251.46.142
;; Query time: 23 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Sun May 03 10:14:00 MDT 2026
;; MSG SIZE rcvd: 55If you run that same command again, you should see this line change:
;; Query time: 0 msecThat means it used the cache. I know it's only saved 23 ms, but if you think about how many times web sites connect in the background, while you are using it, it does add up.
That's the end of the how-to, the rest is just a rant :P
Like a lot of Americans, my ISP sucks. It used to be OK, not great, but at least consistently OK. About a year ago, a new ISP started moving into my area, offering fiber. Really inexpensive and fast fiber. I signed up right away, but they still haven't made it into my neighborhood. Once my ISP realized they finally had competition, they started boosting everyone's bandwidth. My download speeds doubled and my upload speeds went up about 7x what it used to be. This should be a good thing. Unfortunately, I don't think their network can handle it.
The ironic thing is to try to convince customers not to change ISPs, they made theirs worse. In the meantime, I've been tinkering and trying to squeeze as much performance out of my crappy ISP as I can. The first attempt was to replace their DNS servers with Cloudflare. That worked ok, but it's not configurable in their crappy modem, so I have to do it at every computer. Adding the DNS caching has actually helped, especially in games. I've also tweaked my driver's config, which I will post about sometime as well. Try the DNS caching, if you are using openSUSE Tumbleweed, it's already installed...may as well use it.
David D.
No Comments