Setting per-process nameservers

Barry Margolin barry.margolin at level3.com
Wed Sep 24 17:25:31 UTC 2003


In article <bk506h$2i5q$1 at sf1.isc.org>,
Dieter Jansen <dieter at tplex.com.au> wrote:
>Can anyone suggest a way we can get the sendmail
>process to look a particular DNS server list other
>than that specified in the resolv.conf?

It should be a pretty simple change to the resolver library to make it
check an environment variable for the pathname to the resolv.conf file, and
use that instead of /etc/resolv.conf.  Then recompile sendmail with this
modified resolver library.

-- 
Barry Margolin, barry.margolin at level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list