1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-01 21:27:22 +02:00

Support Ubuntu 22.04 Jammy Jellyfish (#2083)

This commit is contained in:
Joshua Tauberer
2022-10-11 21:18:34 -04:00
committed by GitHub
32 changed files with 332 additions and 296 deletions

View File

@@ -48,7 +48,7 @@ def test2(tests, server, description):
for qname, rtype, expected_answer in tests:
# do the query and format the result as a string
try:
response = dns.resolver.query(qname, rtype)
response = dns.resolver.resolve(qname, rtype)
except dns.resolver.NoNameservers:
# host did not have an answer for this query
print("Could not connect to %s for DNS query." % server)