[getdns-api] EDNS options are for server to server communications

Willem Toorop willem at nlnetlabs.nl
Thu Feb 13 07:54:29 MST 2014


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


More information about the getdns-api mailing list