Skip to content

Commit

Permalink
missed Lookup strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwample committed Jan 22, 2025
1 parent bbb02d2 commit 3563663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/http-api-client/src/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn new_resolver() -> Result<TokioAsyncResolver, HickoryDnsSystemConfError> {
let config = ResolverConfig::from_parts(None, Vec::new(), name_servers);

let mut opts = ResolverOpts::default();
opts.ip_strategy = LookupIpStrategy::Ipv4thenIpv6;
opts.ip_strategy = LookupIpStrategy::Ipv4AndIpv6;
// Would like to enable this when 0.25 stabilizes
// opts.server_ordering_strategy = ServerOrderingStrategy::RoundRobin;

Expand Down

0 comments on commit 3563663

Please sign in to comment.