mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Force external resolution for reverse DNS dig
This commit is contained in:
parent
17eec25ed2
commit
852cd14c4b
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class MailDiagnoser(Diagnoser):
|
||||||
query += '.ip6.arpa'
|
query += '.ip6.arpa'
|
||||||
|
|
||||||
# Do the DNS Query
|
# Do the DNS Query
|
||||||
status, value = dig(query, 'PTR')
|
status, value = dig(query, 'PTR', resolvers="force_external")
|
||||||
if status == "nok":
|
if status == "nok":
|
||||||
yield dict(meta={"test": "mail_fcrdns", "ipversion": ipversion},
|
yield dict(meta={"test": "mail_fcrdns", "ipversion": ipversion},
|
||||||
data={"ip": ip, "ehlo_domain": self.ehlo_domain},
|
data={"ip": ip, "ehlo_domain": self.ehlo_domain},
|
||||||
|
|
Loading…
Add table
Reference in a new issue