[getdns-api] Capability and version checking

Paul Hoffman paul.hoffman at vpnc.org
Mon Jan 28 18:36:25 MST 2013

On Jan 28, 2013, at 5:08 PM, Phil Pennock <getdns-api-phil at spodhuis.org> wrote:

> I'm not seeing guaranteed compile-time constants for detecting
> compile-vs-runtime differences?

Please say more about these differences.

> Should the API guarantee that a query with "return_ap_information" set
> to GETDNS_EXTENSION_TRUE will get a response with that data, even for
> something like a query for an empty string, or a NULL pointer as the
> name field?  When I do a check at start-up, it might be before a user
> privilege transition, so a stable query guaranteed to not hit the wire
> is helpful.

Would a PTR lookup on be sufficient for you? If so, I can add that in as the suggested way to get the information at startup.

--Paul Hoffman

More information about the getdns-api mailing list