From 6176eeeae6e75d3ce78eb98d46dc478541ba6282 Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Thu, 4 Jul 2013 13:32:07 +0200 Subject: Set default DNS resolution timeout to 6 seconds. Partially solves ticket: https://fedorahosted.org/sssd/ticket/1966 To avoid the problem mentioned in the ticket above, option dns_discovery_domain must be set properly. --- src/providers/data_provider_fo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/providers') diff --git a/src/providers/data_provider_fo.c b/src/providers/data_provider_fo.c index 83294b59..5f25ecc8 100644 --- a/src/providers/data_provider_fo.c +++ b/src/providers/data_provider_fo.c @@ -774,8 +774,8 @@ void be_fo_set_port_status(struct be_ctx *ctx, /* Resolver back end interface */ static struct dp_option dp_res_default_opts[] = { { "lookup_family_order", DP_OPT_STRING, { "ipv4_first" }, NULL_STRING }, - { "dns_resolver_timeout", DP_OPT_NUMBER, { .number = 5 }, NULL_NUMBER }, - { "dns_resolver_op_timeout", DP_OPT_NUMBER, { .number = 5 }, NULL_NUMBER }, + { "dns_resolver_timeout", DP_OPT_NUMBER, { .number = 6 }, NULL_NUMBER }, + { "dns_resolver_op_timeout", DP_OPT_NUMBER, { .number = 6 }, NULL_NUMBER }, { "dns_discovery_domain", DP_OPT_STRING, NULL_STRING, NULL_STRING }, DP_OPTION_TERMINATOR }; -- cgit