<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 28, 2017 at 4:59 PM, Robert Edmonds <span dir="ltr"><<a href="mailto:edmonds@mycre.ws" target="_blank">edmonds@mycre.ws</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In contrast, the kinds of applications that rely on the glibc stub<br>
resolver are mostly command-line applications (e.g., ssh, wget) which do<br>
perhaps a handful of DNS lookups at startup. They don't need a high<br>
performance or async DNS resolver. A big exception is Firefox, which I<br>
think ultimately does rely on getaddrinfo() on Linux systems.<br>
<br></blockquote><div><br></div><div><span style="font-size:12.8px">I'm not in a position to disclose specifics, but the last time I ran into this it was a major impact to the company in question and a long lived process that had to be restarted to pick up the changes. My personal impression is that such software tends to be written with the assumption that 10s+ for a DNS lookup is "too long" regardless of reason (i.e. scenario where glibc might eventually move on to a working DNS server is not considered), and no special effort is made to leverage resolver libraries outside of the glibc space. It's also my impression that there is more software like it out there than not, at least where threads are available. Software that is mission critical to a company without being designed to be </span><i style="font-size:12.8px">performance </i><span style="font-size:12.8px">critical is the problem space in question, as those developers tend to expect the OS to handle the DNS magic for them without special handling. I think we can all agree that it's badly written software from a <i>DNS perspective</i>, but the problem again stems from the fact that the developers in question have the wrong expectations with regard to the massive delays that can be encountered before a second server is ever attempted.</span><br></div><div style="font-size:12.8px"><font color="#222222"><br></font></div><div style="font-size:12.8px">I'm aware that personal anecdotes without specific examples aren't terribly useful, but they're all I have available at the moment. Apologies to Robert for the second (heavily edited) copy of this, I left the list off of the last one.</div></div></div></div>