mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-15 13:33:28 +02:00
Disabled domain search as it caused problems
This commit is contained in:
@ -103,16 +103,10 @@ impl DnsResolverConfig {
|
||||
bind_addr: self.bind_address,
|
||||
});
|
||||
}
|
||||
for search in &self.search {
|
||||
if let Ok(name) = Name::from_str_relaxed(search) {
|
||||
resolver.add_search(name);
|
||||
}
|
||||
}
|
||||
for search in additional_search {
|
||||
if let Ok(name) = Name::from_str_relaxed(search) {
|
||||
resolver.add_search(name);
|
||||
}
|
||||
}
|
||||
// Not configuring domain search here because searching
|
||||
// on the resolver level is a bad idea unless we are
|
||||
// taling about the system resolver which we
|
||||
// can't tell what to do (which is good!)
|
||||
return resolver;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user