Re: [fbsd] possible patch for implementing split DNS



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,


_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: possible patch for implementing split DNS
    ... Julian Elischer wrote: ... This patch seems to me a simple solution. ... We over-ride where the resolver looks for resolv.conf using an ...
    (freebsd-net)
  • Re: possible patch for implementing split DNS
    ... This patch seems to me a simple solution. ... We over-ride where the resolver looks for resolv.conf using an ... reaction to your suggestion is negative, but I'm having a hard time ...
    (freebsd-net)
  • Re: possible patch for implementing split DNS
    ... This patch seems to me a simple solution. ... We over-ride where the resolver looks for resolv.conf using an environment variable. ... reaction to your suggestion is negative, but I'm having a hard time ...
    (freebsd-net)
  • Re: [fbsd] possible patch for implementing split DNS
    ... This patch seems to me a simple solution. ... We over-ride where the resolver looks for resolv.conf using an ... Unless using a packet filter might suffice... ...
    (freebsd-net)
  • Re: possible patch for implementing split DNS
    ... This patch seems to me a simple solution. ... We over-ride where the resolver looks for resolv.conf using an environment variable. ... int havesearch = 0; ...
    (freebsd-net)