emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous DNS resolving


From: Lars Ingebrigtsen
Subject: Re: Asynchronous DNS resolving
Date: Fri, 13 Feb 2015 20:02:18 +1100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Can't you simulate async resolution with timers?  Or even by opening a
> network-process to the DNS server and talking to it directly (which
> can be done asynchronously with filters and sentinels and stuff)?

That's what dns.el does, but it suffers from not having access to
OS-level funky stuff like possible local caching, and the general
difficulty of getting at the current DNS setup on modern machines.

Using the C-level resolution functions is the safest best, since libc is
really the authority here...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]