Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2000 13:58:59 -0600
From:      Lars Fredriksen <lars@odin-corporation.com>
To:        current@freebsd.org
Subject:   environment variable for resolv.conf anyone?
Message-ID:  <3A26B182.8717E963@odin-corporation.com>

next in thread | raw e-mail | index | archive | help
Hi,

I find myself connected to multiple networks and domains all the time,
and was wondering if anyone has solved (without using a chroot
environment) using a different resolv.conf for different shells?

One solution I thought off was to change the resolver library to look
for an environment variable and if that was set, to  use the file it
pointed to instead of being hardcoded to /etc/resolv.conf as it is
today. Anyone have an opinion on the general usefulness of this idea,
and whether it poses a security risk?

Thanks,

Lars



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A26B182.8717E963>