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

Willem Toorop willem at nlnetlabs.nl
Thu Jan 9 15:50:31 CET 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.
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org



More information about the spec mailing list