Installing MIAB for the first time fails on resolv.conf

Hi there,
installing MIAB on a fresh Ubuntu 22 fails with the message:
rm: cannot remove ‘/etc/resolv.conf’: Operation not permitted
Probably has to do with MIAB wishing to be DNS.
Can I make it refrain from messing with DNS?
I’d prefer my cloud provider to be DNS.

You don’t need to delete or remove anything to use an external DNS provider. Just skip the Glue Records and Nameservers sections of the setup guide, and after the installation is complete, go to the DNS (Custom/External) > External DNS section of the Mail-in-a-Box control panel and copy the DNS records to the control panel of your DNS provider.

Thank you! This requires the installation to be finished, but it fails while trying to delete resolv.conf. I guess the resolv.conf on my virtual server is kind of automatically generated and thus not writeable. I guess I have to ask my provider what is that so.

I use External DNS. Occasionally, after some updates, DNS will stop resolving on the Server. I have to use Nano to put the local DNS Server in resolv.conf and then reinstall resolvconf.

sudo apt-get install --reinstall resolvconf

Two questions … is this a Contabo VPS? is IPv6 enabled?


1 Like