Bugfix/dns recursion (#3023)

* fix dns recursion and localhost

* additional fix
This commit is contained in:
Aiden McClelland
2025-09-11 15:47:38 -06:00
committed by GitHub
parent d1812d875b
commit 2f6b9dac26

View File

@@ -304,7 +304,7 @@ impl Resolver {
return Some(res);
}
}
if name.zone_of(&*STARTOS) || name.zone_of(&*EMBASSY) {
if STARTOS.zone_of(name) || EMBASSY.zone_of(name) {
let Ok(pkg) = name
.trim_to(2)
.iter()