[getdns-api] Changing nameservers

Paul Hoffman paul.hoffman at vpnc.org
Wed Mar 13 07:55:17 MST 2013


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

> 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. 


On Mar 12, 2013, at 5:39 PM, Matt Miller <linuxwolf at outer-planes.net> wrote:

> I believe the function you want is getdns_context_set_upstream_recursive_servers().

Quite right.

Murray: Read the whole doc. I purposely hid the "how an advanced application might change the request behavior" at the end of the document because 90% of applications will not want to do this, and the procedure for dealing with contexts was confusing people in earlier rounds of this document.

Having said that, if you see bits that should be in section 8 to allow more flexibility for those advanced applications, this is a good time to propose them.

--Paul Hoffman


More information about the getdns-api mailing list