Is there some good reason for ntpdig to be doing asynchronous DNS?

Hal Murray hmurray at megapathdsl.net
Wed Nov 9 18:52:54 UTC 2016


esr at thyrsus.com said:
> Anyone have a good explanation for this? It looks like overengineering to
> me. 

My guess would be historical.  It probably made sense when somebody copied 
some code ages ago.

Another possibility is that there is an option to bail after N seconds.  If 
you are using it to set the time during booting, you might not want to wait 
for DNS to timeout.  DNS timeouts on this system are ballpark of 30 seconds.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list