Skip to content

Commit

Permalink
RESOLV: Avoid DNS search by default
Browse files Browse the repository at this point in the history
This patch changes the default behaviour so DNS search
is not performed by default.
  • Loading branch information
thalman committed Nov 10, 2020
1 parent 15a3b95 commit 1b5806e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/man/include/failover.xml
Expand Up @@ -130,7 +130,7 @@
are not resolvable.
</para>
<para>
Default: True
Default: False
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion src/providers/data_provider_fo.c
Expand Up @@ -836,7 +836,7 @@ static struct dp_option dp_res_default_opts[] = {
{ "dns_resolver_timeout", DP_OPT_NUMBER, { .number = 6 }, NULL_NUMBER },
{ "dns_resolver_op_timeout", DP_OPT_NUMBER, { .number = 3 }, NULL_NUMBER },
{ "dns_resolver_server_timeout", DP_OPT_NUMBER, { .number = 1000 }, NULL_NUMBER },
{ "dns_resolver_perform_dns_search", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
{ "dns_resolver_perform_dns_search", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
{ "dns_discovery_domain", DP_OPT_STRING, NULL_STRING, NULL_STRING },
DP_OPTION_TERMINATOR
};
Expand Down

0 comments on commit 1b5806e

Please sign in to comment.