I have a feeling this has to do with unbound, but not sure, and I don’t really want to muck about as I am sure I will break something.
Basically copied the config from a running server mail2.hostname.com to mail1.hostname.com, changing variables accordingly. Everything is working, except the cert. The acme server keeps pulling up an internal IP for the domain in dns.
acme-mailcow_1 | Mon Apr 19 13:35:11 EDT 2021 - No A or AAAA record found for hostname autoconfig.alfonsoramirez.ca
acme-mailcow_1 | Mon Apr 19 13:35:11 EDT 2021 - Found A record for mail1.hostname.com: 172.22.1.11
acme-mailcow_1 | Mon Apr 19 13:35:11 EDT 2021 - Cannot match your IP XXX.XXX.XXX.203 against hostname mail1.hostname.com (DNS returned 172.22.1.11)
I thought there might be issues with IPv6, but after disabling it, I am now getting a similar error, but without the cannot match your IP part.
acme-mailcow_1 | Mon Apr 19 13:43:58 EDT 2021 - Found A record for mail1.hostname.com: 172.22.1.11
acme-mailcow_1 | Mon Apr 19 13:43:58 EDT 2021 - Confirmed A record with IP 172.22.1.11, but HTTP validation failed
Any help would be very much appreciated. Thank you