Re: possible patch for implementing split DNS



On 2006.08.25 15:08:13 -0700, Julian Elischer wrote:
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.

Anyone got better ways fo doing this?

Since a bunch of people have suggested other solutions I just wanted
to add me 0.01$CURRENCY, FWIW.

Other than missing update for some manual page (not sure where this
should go) I don't see a problem adding this patch. "Normal" users
should be able already get similar functionality already by simply
preloading a custom patched libc, so I don't see a problem supporting
this.

This is clearly much simpler than setting up a full blown bind with
split DNS.

--
Simon L. Nielsen
_______________________________________________
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)