Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 24 Apr 2017 19:50:43 -0700
From: Kurt H Maier <>
Subject: Re: [PATCH] Add RES_OPTIONS support for resolv.conf options

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.


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.