mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 02:28:15 +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:
parent
6da5f8f586
commit
1d6f45e592
@ -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, ".")
|
||||
|
Loading…
x
Reference in New Issue
Block a user