fix: enable edns0 for system resolver by default (#1282)
Remove after hickory-resolver is updated with this fix applied: https://github.com/hickory-dns/hickory-dns/pull/2831 Fixes: https://github.com/stalwartlabs/mail-server/issues/1255
This commit is contained in:
@@ -109,6 +109,10 @@ impl Resolvers {
|
||||
"quad9-tls" => (ResolverConfig::quad9_tls(), ResolverOpts::default()),
|
||||
"google" => (ResolverConfig::google(), ResolverOpts::default()),
|
||||
"system" => read_system_conf()
|
||||
.map(|(conf, mut opts)| {
|
||||
opts.edns0 = true;
|
||||
(conf, opts)
|
||||
})
|
||||
.map_err(|err| {
|
||||
config.new_build_error(
|
||||
"resolver.type",
|
||||
|
||||
Reference in New Issue
Block a user