[getdns-api] Context Code for /etc/resolv.conf updates
Paul Hoffman
paul.hoffman at vpnc.org
Thu Jan 16 04:32:55 CET 2014
Sorry for the delayed reply. Note to everyone: you can comment too! :-)
On Jan 9, 2014, at 6:50 AM, Willem Toorop <Willem at NLnetLabs.nl> wrote:
> 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.
Either "one code per change to resolv.conf" or "one code for any change" works for me. Pick one and let me know what you want in the spec.
--Paul Hoffman
More information about the spec
mailing list