Displaying 3 results from an estimated 3 matches for "res_use_dnssec".
2003 May 15
2
Resolver changes broke AIX & HPUX
Hi All.
Haven't looked at this yet but it looks like the resolver changes broke
AIX and HP-UX.
-Daz.
AIX 4.3.3.11:
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I..
-I../../openbsd-compat -I../../openbsd-compat/.. -I/usr/local/ssl/include
-I/usr/local/include -DHAVE_CONFIG_H -c
../../openbsd-compat/getrrsetbyname.c
../../openbsd-compat/getrrsetbyname.c:133: warning: static
2007 Mar 16
2
[Bug 1299] Remove redefinition of _res in getrrsetbyname.c
..._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.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2007 Mar 12
1
Redefinition of _res in getrrsetbyname.c
...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, any
platform for which just using _res directly for what getrrsetbyname is
doing doesn't work would appear to me to be rather broken.
Please ensure tha...