Well, as output I got some “errors” (the only lines in red), but don’t know very well how to interpret them:
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 252>
response = self.full_dispatch_request()
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 182>
rv = self.handle_user_exception(e)
And:
xception on /dns/dump [GET]
Traceback (most recent call last):
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 1825, 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 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/mailinabox/env/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/ed/mailinabox/management/daemon.py", line 75, in newview
return viewfunc(*args, **kwargs)
File "/home/ed/mailinabox/management/daemon.py", line 397, in dns_get_dump
return json_response(build_recommended_dns(env))
File "/home/ed/mailinabox/management/dns_update.py", line 1084, in build_recommended_dns
for (domain, zonefile, records) in build_zones(env):
File "/home/ed/mailinabox/management/dns_update.py", line 175, in build_zones
records = build_zone(domain, domains, additional_records, env)
File "/home/ed/mailinabox/management/dns_update.py", line 224, in build_zone
subzone = build_zone(subdomain, domain_properties, additional_records, env, is_zone=False)
File "/home/ed/mailinabox/management/dns_update.py", line 215, in build_zone
for value in build_sshfp_records():
File "/home/ed/mailinabox/management/dns_update.py", line 468, in build_sshfp_records
keys = shell("check_output", ["ssh-keyscan", "-t", "rsa,dsa,ecdsa,ed25519", "-p", str(port), "localhost"])
File "/home/ed/mailinabox/management/utils.py", line 126, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ssh-keyscan', '-t', 'rsa,dsa,ecdsa,ed25519', '-p', '22', 'localhost']' returned non-zero exit status 1.
It seems to me that something is going wrong while trying to create DNS zones.