Re: How to disable DNS lookups?

2017-07-25 Thread u-hd-phes
On Tue, Jul 25, 2017 at 02:58:29PM -0400, Roland C. Dowdeswell wrote: > On Tue, Jul 25, 2017 at 08:45:44AM -0700, Russ Allbery wrote: > > Eh? I *absolutely* would expect that and would consider it a bug if it > > did not. It is incredibly useful for testing to be able to temporarily > > override

Re: How to disable DNS lookups?

2017-07-26 Thread u-hd-phes
On Tue, Jul 25, 2017 at 09:48:11PM -0400, Roland C. Dowdeswell wrote: > On Tue, Jul 25, 2017 at 11:20:57PM +0200, u-hd-p...@aetey.se wrote: > > > As you can see, getaddrinfo(3) will only use DNS to chase the CNAME > > > defined in DNS and does not consult /etc/hosts in the middle of a > > > > You

Re: How to disable DNS lookups?

2017-07-26 Thread u-hd-phes
On Wed, Jul 26, 2017 at 08:45:17AM -0700, Russ Allbery wrote: > Viktor Dukhovni writes: > > 2. Look up same name in DNS, return address(es) if found > > > instead, in step 2, we may get undesirable, incorrect and/or costly > > interactions with the stub resolver's domain search list. The nam