Displaying 2 results from an estimated 2 matches for "res_use_edns0".
Did you mean:
res_use_ednso
2007 Mar 16
2
[Bug 1299] Remove redefinition of _res in getrrsetbyname.c
..._res is used only in the getrrsetbyname function, which never
initializes it in any way, but tries to act as if it's using the real
_res. So it calls init_res every time:
if ((_resp->options & RES_INIT) == 0 && res_init() == -1) {
and it never turns on DNSSEC, even when RES_USE_EDNS0 is set, since
it's
checking for it in the wrong place:
if (_resp->options & RES_USE_EDNS0)
_resp->options |= RES_USE_DNSSEC;
The fix is to remove the code that redefines _res, or at least #ifdef
it for only those platforms that need this for some reason.
----...
2007 Mar 12
1
Redefinition of _res in getrrsetbyname.c
...res is used only in the getrrsetbyname function, which never
initializes it in any way, but tries to act as if it's using the real
_res. So it calls init_res every time:
if ((_resp->options & RES_INIT) == 0 && res_init() == -1) {
and it never turns on DNSSEC, even when RES_USE_EDNS0 is set, since it's
checking for it in the wrong place:
if (_resp->options & RES_USE_EDNS0)
_resp->options |= RES_USE_DNSSEC;
So, what's the fix for this? The first thing that comes to my mind is
to rip out the redefinition; despite the comment in the changelog, an...