[getdns-api] Context Code for /etc/resolv.conf updates

Willem Toorop willem at nlnetlabs.nl
Thu Jan 9 07:50:31 MST 2014


Section 8.1 says that the update callback is called when
/etc/resolv.conf changes.  However there is no specific Context code for
this in 8.10.  Does this mean that the callback is called with codes for
the specific parts of resolv.conf?

For example if a "nameserver" entry is added, changed or removed,
callback with code: GETDNS_CONTEXT_CODE_UPSTREAM_RECURSIVE_SERVERS

But what if an "domain" or "search" entry is changed?
GETDNS_CONTEXT_CODE_SUFFIX for both?

Or should there be a Context Code for /etc/resolv.conf updates:
GETDNS_CONTEXT_RESOLV_CONF

At least, the text should be a bit more specific about this.


More information about the getdns-api mailing list