[fbsd] possible patch for implementing split DNS
Julian Elischer
julian at elischer.org
Mon Aug 28 22:43:48 UTC 2006
Jeremie Le Hen wrote:
>Julian,
>
>On Fri, Aug 25, 2006 at 02:39:36PM -0700, Julian Elischer wrote:
>
>
>>I need some processes to look elsewhere for DNS information from where
>>the rest
>>of the system looks.. This patch seems to me a simple solution.
>>We over-ride where the resolver looks for resolv.conf using an
>>environment variable.
>>This would allow me to reset this to an application specific config file
>>that
>>specifies a different server.
>>
>>
>
>I like this idea, but don't you think the administrator might want
>to be able to disable this functionnality for his users ?
>Unless using a packet filter might suffice...
>
>
my thought would be that we specify a filename (default resolv.conf) and
we look for it in /etc.
if is not there or not the right format, it doesn't work. Nor does it
work if you are SUID.
i.e the admin will have to have set it up.
>Regards,
>
>
More information about the freebsd-net
mailing list