i see from other blogs this is really about DNS
I am using an external DNS, which for each domain has all the A, MX, DKIM, etc records (as was set for the prior webmin install that was wiped yesterday)
so, WHY is there not an option in the virtualmin install to set an external DNS ?
my /etc/resolve.conf was:
If you are using external DNS create all needed records at your registrar pointed to your server’s IP. Use registrars nameservers. Uncheck DNS domain in Features and plugins. The registrar will be handling DNS not virtualmin.
which i believe is wrong for Webmin, and should list nameserver then a real external IP
not sure why the install script (sudo sh virtualmin-install.sh) doesn’t have an option here to use an external DNS, or what is wrong with the setup here in resolv.conf, or in the ‘networking configuration’ → ‘DNS Client Options’
do you have a virtual server for your hostname ?
i.e server.abc.com ?
and what features are selected for that virtual server ? mine just had the DNS, which is odd as all the other real domains that is the option i have unchecked via ‘features’
I think there is a general problem with the raw image for Ubuntu 22.04 LTS from a2hosting, because after a fresh install (I just wiped everything), i get the same error after apt-get update:
Yeah, this has nothing to do with Virtualmin. No Virtualmin settings can have anything to do with DNS resolution of outside hosts. All the suggestions here for changes in Virtualmin are not relevant to your problem.
Either your DNS server(s) in /etc/resolv.conf aren’t working or that one host isn’t resolving for anyone. (Note you also have 127.0.0.53 in there which is a caching resolver, probably systemd-resolved, but Virtualmin has nothing to do with it…and the Webmin Network configuration module isn’t really aware of that stuff.)
I’m able to resolve that hostname ‘mirror.a2hosting.com’, so it’s presumably the resolver config on your system.