|
Message-ID: <20170425025043.GF27654@wopr> Date: Mon, 24 Apr 2017 19:50:43 -0700 From: Kurt H Maier <khm@....org> To: musl@...ts.openwall.com Subject: Re: [PATCH] Add RES_OPTIONS support for resolv.conf options overriding On Mon, Apr 24, 2017 at 10:39:34PM -0400, Rich Felker wrote: > > What I'd really like is a way for users to override nameserver and > search directives (so pretty much, all of resolv.conf) in a way that > doesn't need root; this would be really valuable for testing. But > sadly there's no precedent for an interface to do so. Maybe it's > something we could work on a unified solution to with other > implementations (glibc, bsds?). > > Rich FreeBSD and OpenBSD both currently support RES_OPTIONS (and LOCALDOMAIN for overriding the search directive) but I don't think they support overriding the nameserver directive. There's just the HOSTALIASES variable for pointing to a file full of 'alias hostname' pairs. khm
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.