possible patch for implementing split DNS

Simon L. Nielsen simon at FreeBSD.org
Tue Aug 29 08:50:04 UTC 2006


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


More information about the freebsd-net mailing list