Subject: bug#42535: 28.0.50; macOS test failure: echo-server-with-dns

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 04 Aug 2020 17:16:02 +0200

Robert Pluim <[email-masked]> writes:

> Why restrict yourself to IPv4?
>
> (network-lookup-address-info (system-name))
> => ([0 0 0 0 0 0 0 1 0] [127 0 0 1 0])

Sure.  So if the first octet is 0 or 127, then we have a resolving
(system-name)?  I'm not sure what the rules are on ipv6 for localhost...

> Note that strictly speaking this doesnʼt test DNS, since in my case
> itʼs just looking in /etc/hosts, but it does test the resolver.

Yes, but from make-network-process's point of view, that doesn't make
any difference, I think...

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