mirror of
https://github.com/chatmail/relay.git
synced 2026-05-11 16:34:39 +00:00
DNS: fix parsing
This commit is contained in:
@@ -173,7 +173,7 @@ def dns_cmd(args, out):
|
||||
if f" {typ} " in line:
|
||||
domain, value = line.split(f" {typ} ")
|
||||
current = dns.get(typ, domain.strip()[:-1])
|
||||
if current != value:
|
||||
if current != value.strip():
|
||||
to_print.append(line)
|
||||
if " MX " in line:
|
||||
domain, typ, prio, value = line.split()
|
||||
|
||||
Reference in New Issue
Block a user