External DNS page:
Oct 23 13:24:14 mail.example.com start[1956]: [2024-10-23 13:24:14,064] ERROR in app: Exception on /dns/dump [GET]
Oct 23 13:24:14 mail.example.com start[1956]: Traceback (most recent call last):
Oct 23 13:24:14 mail.example.com start[1956]: File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 1473, in wsgi_app
Oct 23 13:24:14 mail.example.com start[1956]: response = self.full_dispatch_request()
Oct 23 13:24:14 mail.example.com start[1956]: File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 882, in full_dispatch_request
Oct 23 13:24:14 mail.example.com start[1956]: rv = self.handle_user_exception(e)
Oct 23 13:24:14 mail.example.com start[1956]: File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
Oct 23 13:24:14 mail.example.com start[1956]: rv = self.dispatch_request()
Oct 23 13:24:14 mail.example.com start[1956]: File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 865, in dispatch_request
Oct 23 13:24:14 mail.example.com start[1956]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/daemon.py", line 74, in newview
Oct 23 13:24:14 mail.example.com start[1956]: return viewfunc(*args, **kwargs)
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/daemon.py", line 396, in dns_get_dump
Oct 23 13:24:14 mail.example.com start[1956]: return json_response(build_recommended_dns(env))
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/dns_update.py", line 1072, in build_recommended_dns
Oct 23 13:24:14 mail.example.com start[1956]: for (domain, _zonefile, records) in build_zones(env):
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/dns_update.py", line 174, in build_zones
Oct 23 13:24:14 mail.example.com start[1956]: records = build_zone(domain, domains, additional_records, env)
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/dns_update.py", line 221, in build_zone
Oct 23 13:24:14 mail.example.com start[1956]: subzone = build_zone(subdomain, domain_properties, additional_records, env, is_zone=False)
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/dns_update.py", line 213, in build_zone
Oct 23 13:24:14 mail.example.com start[1956]: records.extend((None, "SSHFP", value, "Optional. Provides an out-of-band method for verifying an SSH key before connecting. Use 'VerifyHostKeyDNS yes' (or 'VerifyHostKeyDNS ask') when connecting with>
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/dns_update.py", line 213, in <genexpr>
Oct 23 13:24:14 mail.example.com start[1956]: records.extend((None, "SSHFP", value, "Optional. Provides an out-of-band method for verifying an SSH key before connecting. Use 'VerifyHostKeyDNS yes' (or 'VerifyHostKeyDNS ask') when connecting with>
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/dns_update.py", line 457, in build_sshfp_records
Oct 23 13:24:14 mail.example.com start[1956]: keys = shell("check_output", ["ssh-keyscan", "-4", "-t", "rsa,dsa,ecdsa,ed25519", "-p", str(port), "localhost"])
Oct 23 13:24:14 mail.example.com start[1956]: File "/root/mailinabox/management/utils.py", line 127, in shell
Oct 23 13:24:14 mail.example.com start[1956]: ret = getattr(subprocess, method)(cmd_args, **kwargs)
Oct 23 13:24:14 mail.example.com start[1956]: File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
Oct 23 13:24:14 mail.example.com start[1956]: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
Oct 23 13:24:14 mail.example.com start[1956]: File "/usr/lib/python3.10/subprocess.py", line 526, in run
Oct 23 13:24:14 mail.example.com start[1956]: raise CalledProcessError(retcode, process.args,
Oct 23 13:24:14 mail.example.com start[1956]: subprocess.CalledProcessError: Command '['ssh-keyscan', '-4', '-t', 'rsa,dsa,ecdsa,ed25519', '-p', '22', 'localhost']' returned non-zero exit status 1.
Oct 23 13:24:14 mail.example.com gunicorn[1956]: Exception on /dns/dump [GET]
Traceback (most recent call last):
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/root/mailinabox/management/daemon.py", line 74, in newview
return viewfunc(*args, **kwargs)
File "/root/mailinabox/management/daemon.py", line 396, in dns_get_dump
return json_response(build_recommended_dns(env))
File "/root/mailinabox/management/dns_update.py", line 1072, in build_recommended_dns
for (domain, _zonefile, records) in build_zones(env):
File "/root/mailinabox/management/dns_update.py", line 174, in build_zones
records = build_zone(domain, domains, additional_records, env)
File "/root/mailinabox/management/dns_update.py", line 221, in build_zone
subzone = build_zone(subdomain, domain_properties, additional_records, env, is_zone=False)
File "/root/mailinabox/management/dns_update.py", line 213, in build_zone
records.extend((None, "SSHFP", value, "Optional. Provides an out-of-band method for verifying an SSH key before connecting. Use 'VerifyHostKeyDNS yes' (or 'VerifyHostKeyDNS ask') when connecting w>
File "/root/mailinabox/management/dns_update.py", line 213, in <genexpr>
records.extend((None, "SSHFP", value, "Optional. Provides an out-of-band method for verifying an SSH key before connecting. Use 'VerifyHostKeyDNS yes' (or 'VerifyHostKeyDNS ask') when connecting w>
File "/root/mailinabox/management/dns_update.py", line 457, in build_sshfp_records
keys = shell("check_output", ["ssh-keyscan", "-4", "-t", "rsa,dsa,ecdsa,ed25519", "-p", str(port), "localhost"])
File "/root/mailinabox/management/utils.py", line 127, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ssh-keyscan', '-4', '-t', 'rsa,dsa,ecdsa,ed25519', '-p', '22', 'localhost']' returned non-zero exit status 1.