[Top][All Lists]

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

Re: [RFC] automatically retrying network connections

From: Lars Ingebrigtsen
Subject: Re: [RFC] automatically retrying network connections
Date: Sun, 22 Jul 2018 13:43:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Robert Pluim <address@hidden> writes:

>     (dns-query NAME &optional TYPE FULLP REVERSEP)
>     Query a DNS server for NAME of TYPE.
>     If FULLP, return the entire record returned.
>     If REVERSEP, look up an IP address.
> which you could use instead of 'nslookup' or 'getaddrinfo' (although
> 'dns-query' can also punt to 'nslookup', so maybe getaddrinfo is
> better).

getaddrinfo is probably a lot better.  `dns-query' isn't that good at
retries and the like, if I remember correctly.

(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]