Anton Aylward wrote:
On 22/12/17 08:21 AM, Per Jessen wrote:
Anton Aylward wrote:
Telcontar:~ # systemctl status ntpd [...] └─3280 ntpd: asynchronous dns resolver ^^^^^^^^^^^^^^^^^^^^^^^^^ ????
I guess they fork a separate process for it. Maybe to not upset the time-keeping?
Curious. There is asynchronous DNS code for Ruby, Python and of course Perl as libraries.
Also for C etc - I use the "adns" library, it is really easy to work with.
I haven't looked at it. It does beg a question about how independent of the main system DNS resolver - dnsmasq in my case - it works.
As independent as any other app that does DNS lookups - it uses /etc/resolv.conf to find your DNS server, then just fires off multiple requests and processes the responses as they arrive. -- Per Jessen, Zürich (4.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org