Subject: Re: [PATCH] Extension mechanisms for DNS

Re: [PATCH] Extension mechanisms for DNS

From: Tommie Gannert <tommie_at_spotify.com>
Date: Mon, 16 Jul 2012 13:32:34 +0200

2012/7/16 Ghennadi Procopciuc <gprocopciuc_at_ixiacom.com>:
> Any feedback on this patch ?

The new man page contains "ares_mkquery()" in several places.

+.I useedns
+should be nonzero if is used extension mechanisms for DNS (EDNS).

Grammar error.

+ DNS_RR_SET_CLASS(q, useedns);

Briefly reading the EDNS RFC, shouldn't the class be "maximum UDP
payload size?" The docs for "useedns" just says it should be non-zero
to activate EDNS.
The ares_query.c actually sets it to the max UDP size, so I think this
is a documentation bug (and maybe variable name :)

Apart from that, with my limited knowledge of c-ares and EDNS, it looks good.

-- 
Tommie
Received on 2012-07-16