mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
MEDIUM: resolvers: switch dns-accept-family to "auto" by default
As notified in the 3.2 announce [1], dns-accept-family needed to switch to "auto" by default in 3.3. This is now done. [1] https://www.mail-archive.com/haproxy@formilux.org/msg45917.html
This commit is contained in:
parent
9e78859fb3
commit
54d36f3e65
@ -2436,7 +2436,8 @@ dns-accept-family <family>[,...]
|
|||||||
|
|
||||||
When a single family is used, no request will be sent to resolvers for the
|
When a single family is used, no request will be sent to resolvers for the
|
||||||
other family, and any response for the othe family will be ignored. The
|
other family, and any response for the othe family will be ignored. The
|
||||||
default value is "ipv4,ipv6", which effectively enables both families.
|
default value since 3.3 is "auto", which effectively enables both families
|
||||||
|
only once IPv6 has been proven to be routable, otherwise sticks to IPv4.
|
||||||
See also: "resolve-prefer", "do-resolve"
|
See also: "resolve-prefer", "do-resolve"
|
||||||
|
|
||||||
expose-deprecated-directives
|
expose-deprecated-directives
|
||||||
|
@ -70,7 +70,7 @@ DECLARE_POOL(resolv_requester_pool, "resolv_requester", sizeof(struct resolv_r
|
|||||||
|
|
||||||
static unsigned int resolution_uuid = 1;
|
static unsigned int resolution_uuid = 1;
|
||||||
unsigned int resolv_failed_resolutions = 0;
|
unsigned int resolv_failed_resolutions = 0;
|
||||||
uint resolv_accept_families = RSLV_ACCEPT_IPV4 | RSLV_ACCEPT_IPV6;
|
uint resolv_accept_families = RSLV_AUTO_FAMILY;
|
||||||
|
|
||||||
struct task *process_resolvers(struct task *t, void *context, unsigned int state);
|
struct task *process_resolvers(struct task *t, void *context, unsigned int state);
|
||||||
static void resolv_free_resolution(struct resolv_resolution *resolution);
|
static void resolv_free_resolution(struct resolv_resolution *resolution);
|
||||||
|
Loading…
Reference in New Issue
Block a user