mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 11:04:38 +03:00
in domain/dns self-check, don't warn about reverse dns that resolves to multiple names
this is fine. we just need to check if the expected name is among them. feedback from mteege, thanks!
This commit is contained in:
@ -664,9 +664,6 @@ EOF
|
||||
addf(&r.IPRev.Errors, "Looking up reverse name for %s of %s: %v", ip, host, err)
|
||||
continue
|
||||
}
|
||||
if len(addrs) != 1 {
|
||||
addf(&r.IPRev.Warnings, "Expected exactly 1 name for %s of %s, got %d (%v)", ip, host, len(addrs), addrs)
|
||||
}
|
||||
var match bool
|
||||
for i, a := range addrs {
|
||||
a = strings.TrimRight(a, ".")
|
||||
|
Reference in New Issue
Block a user