[getdns-api] Changing nameservers

Matt Miller linuxwolf
Tue Mar 12 22:39:31 CET 2013


On Mar 12, 2013, at 5:31 PM, "Murray S. Kucherawy" <superuser at gmail.com> wrote:

> I'm still wading through this so I may just need a nudge in the right
> direction.
> 
> I'd like to see a method by which I can override what's in /etc/resolv.conf
> especially in terms of which nameservers should receive queries.  So I
> think I'm looking for a way to do manual updates to a context to change the
> nameservers.  The specific use case is MTAs on a box that should beat up
> specific nameservers while all other processes on the box use whatever's in
> /etc/resolv.conf.


I believe the function you want is getdns_context_set_upstream_recursive_servers().


- m&m

Matthew A. Miller
< http://goo.gl/LK55L >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2305 bytes
Desc: not available
URL: <http://www.vpnc.org/pipermail/getdns-api/attachments/20130312/83dfaf09/attachment.bin>



More information about the spec mailing list