[getdns-api] EDNS options are for server to server communications
Paul Hoffman
paul.hoffman at vpnc.org
Thu Feb 13 18:57:22 CET 2014
On Feb 13, 2014, at 6:54 AM, Willem Toorop <Willem at NLnetLabs.nl> wrote:
> EDNS0 options are for server to server communications. Therefore the
> extensions that set them can only work in stub (i.e. target a specific
> server) mode.
>
> How about a GETDNS_RETURN_EDNS0_WITH_RECURSIVE_DISALLOWED return code?
>
> -- Willem
>
> PS. Okay, except the maximum accepted udp_payload_size which is
> configurable for a recursive too, but not on a per query basis...
> Assigning the value to a context with the
> getdns_context_set_edns_maximum_udp_payload_size is adequate for a
> recursive...
I'm not that much in favor of the new return code for the exact reason you give in the PS. But I can live with it if others feel that the API should be clearer on the server-to-server aspect.
--Paul Hoffman
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org
More information about the spec
mailing list