添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Ive made a fresh install of 22.04, installed MIAB, and I can log in. But for some reason the domain name for the box doesnt resolve. I can use its IP, but not its fqdn.

I know things like DNS and glue records, external to the server, are all ok because Ive reimaged a server with the same ip and nothing else changed. Ive been using MIAB for years.

Ive managed to install my backup too, so all my emails and domains are listed in the admin area.

In the SSL page in Admin, all domains are listed as “The domain name does not resolve to this machine [not set] (A)”

and the box name itself is “Self-signed. Get a signed certificate to stop warnings. The domain name does not resolve to this machine: [Not Set] (A).|”

Ive been doing this now for 8 hours - and Im stumped! Any help gratefully received!

Sounds like the same problem I had. Try “service nsd restart” at the shell (with ‘sudo’ if required’).

It absolutely has fixed the issue, with one small problem - the actual box name (in my case box.thetail.co ) wont provision a certificate. All the rest have. but not the main one…

I wondered if anything springs to mind about why?

greyworld:

It absolutely has fixed the issue, with one small problem - the actual box name (in my case box.thetail.co ) wont provision a certificate. All the rest have. but not the main one…

I wondered if anything springs to mind about why?

You should be receiving some kind of feed back or error message on the SSL certificates page when you hit Provision ---- what message(s) are you receiving?

Thanks for your reply - oddly, the second time I did it, it just worked…
Unsatisfying - ill look through the logs, perhaps to find something to help others.

Thank you again for your help!

greyworld:

It absolutely has fixed the issue, with one small problem - the actual box name (in my case box.thetail.co ) wont provision a certificate. All the rest have. but not the main one…

Hi Josh , Just an FYI … I just had a similar problem, moving to v60. Followed your instructions, fresh backups taken, fresh install of Ubuntu, install MIAB, all without any problems. Restored user-data from backups, all was looking good :slight_smile: . But in Admin / TLS (SSL) Certificates the primary domain was showing as expired with only an “Install” button (which wanted to install an externally provided certificate), no Replace or Provision button. (The other domains were fine!) Did the usual sudo mailinabox but no joy.

I found under /home/user-data/ssl/ the link ssl_certificate.pem was pointing to an old certificate. (The current cert was there, from the restore, only the link was wrong.) I pointed the link to the current .pem and it seems to have come good. I’ve no idea how the link got broken :frowning: . Touch wood, it updates correctly when the certs are renewed.

Other than that, the upgrade seems to have gone well. Thanks :+1:

Get to fresh install v60 on an Oracle Cloud instance. Thus rDNS is hopeless to configure correctly, which counts a known defect.

Ran into the nsd issue. Resolved it by following the solution to the service restart trick.

And there comes the domain certificate provision issue. Still struggling with it.

Besides that it reads two strange lines in System Status Checks page.

  • Public DNS (nsd4) is not running (port 53). It’s running.
  • Incoming Mail (SMTP/postfix) is running but is not publicly accessible at 138.2.125.110:25. It’s accessible.

    And there comes the domain certificate provision issue. Still struggling with it.

    Besides that it reads two strange lines in System Status Checks page.

    This could be because the Ubuntu OCI images are using a custom firewall configuration… https://blogs.oracle.com/developers/post/enabling-network-traffic-to-ubuntu-images-in-oracle-cloud-infrastructure

    Ubuntu images in OCI don’t rely on UFW for changing the host firewall configuration. Opening ports requires changing the iptables configuration by editing /etc/iptables/rules.v{4,6} . It is important not to add the new iptables rule at the end of the file or else it will be ignored due to the earlier REJECT rule’s higher precendence. The error message returned to the caller (“no route to host”) can be misleading.

    I would look for a VPS provider that uses the default Ubuntu cloud images, and most importantly, one where you can set up rDNS records.

  •