dns.c: Load IPv6 DNS resolvers if configured.

IPv6 nameserver addresses are stored in different part of the
__res_state structure, so look there if we appear to have support for
it.

ASTERISK-28004 #close

Change-Id: I67067077d8a406ee996664518d9c8fbf11f6977d
This commit is contained in:
Sean Bright
2021-09-06 12:37:08 -04:00
committed by Kevin Harwell
parent 976521c9a2
commit 695fc3dbd7
4 changed files with 32 additions and 2 deletions

View File

@@ -1052,6 +1052,9 @@
/* Define to 1 if `uid' is a member of `struct ucred'. */
#undef HAVE_STRUCT_UCRED_UID
/* Define to 1 if `_u._ext.nsaddrs' is a member of `struct __res_state'. */
#undef HAVE_STRUCT___RES_STATE__U__EXT_NSADDRS
/* Define to 1 if you have the `swapctl' function. */
#undef HAVE_SWAPCTL