3 ms·
Three of the truisms in my varied programming career are: * DNS will fail even if it is implemented correctly on your clients' network * It probably isn't imp
by AndrewStephens 7y ago
Three of the truisms in my varied programming career are:
* DNS will fail even if it is implemented correctly on your clients' network
* It probably isn't implemented correctly on your clients' network
* Your software is probably doing more DNS queries than you think
This seems like a particularly unfortunate example but things like this are not uncommon. Doing any kind of RPC, even just to a server on your local machine? Half the time your library is doing DNS queries under the hood for no good reason. Or performing reverse DNS queries just to display a hostname in a log file.
Its easy to accidentally trigger a lookup. If it happens in a loop, a query that should take .2 seconds now takes 30 minutes.