Re:Setting up a Pi Hole made my home network faster
by milgrim on Sunday May 29, 2022 @02:45PM
(#31551665)
There should be no cost. Which game will constantly use DNS to resolve addresses after being launched?
[ Parent
| on HN ]
Re:Setting up a Pi Hole made my home network faster
by Brybry on Sunday May 29, 2022 @03:31PM
(#31552099)
I caught a bug related to this in Project Zomboid in an early multiplayer version.
Often when someone joined a server there would be a tiny bit of lag for all of the users.
I figured out the server was using a java method that indirectly was doing a blocking DNS lookup. I think it was reverse DNS but I forget which method it actually was, and if it was blocking the main thread or just the networking thread.
(PiHole still wouldn't have created an additional cost though.)
Re:Setting up a Pi Hole made my home network faster
by simon04 on Sunday May 29, 2022 @05:48PM
(#31553214)
This issue might relate to Java's URL class equals/hashCode doing DNS lookups which is specified in Javadoc https://docs.oracle.com/javase/8/docs/api/java/net/URL.html#... but reported by various linters such as https://errorprone.info/bugpattern/URLEqualsHashCode
Re:Setting up a Pi Hole made my home network faster
by charleslmunger on Sunday May 29, 2022 @11:14PM
(#31555150)
Very likely URL.equals()
Re:Setting up a Pi Hole made my home network faster
by milgrim on Sunday May 29, 2022 @03:45PM
(#31552234)
My question was meant rhetorically, but I guess there might be some even more interesting exceptions to this out there.