enable edns0 on hickory resolver config
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
004671b437
commit
c8c9d73b20
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ impl Resolver {
|
||||||
opts.attempts = config.dns_attempts as usize;
|
opts.attempts = config.dns_attempts as usize;
|
||||||
opts.try_tcp_on_error = config.dns_tcp_fallback;
|
opts.try_tcp_on_error = config.dns_tcp_fallback;
|
||||||
opts.num_concurrent_reqs = 1;
|
opts.num_concurrent_reqs = 1;
|
||||||
|
opts.edns0 = true;
|
||||||
opts.shuffle_dns_servers = true;
|
opts.shuffle_dns_servers = true;
|
||||||
opts.rotate = true;
|
opts.rotate = true;
|
||||||
opts.ip_strategy = match config.ip_lookup_strategy {
|
opts.ip_strategy = match config.ip_lookup_strategy {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue