I just made a new reinstallation of Virtualmin on a brand-new server. The install went well but I noticed this strange sentence after running the final configuration check:
BIND DNS server is installed, however, the default primary DNS server NN does not resolve to an IP address
I feel like this may bring problems to my zone verification if I use the FQDN in it. Is there a way to solve this and couldn’t that be done automatically?
I didn’t see it but now I have read it. However, this is not a documentation related with the problem I list above. This page is about correctly setting up the zone of a domain I want to serve from my Virtualmin server.
My question is about Why virtualmin does not see that the FQDN I choose for him resolves to an IP address.
The domain name I chose is set up correctly on another server and points to the VPS where I have Virtualmin.
NN. A xxx.xxx.xxx.xxx
NN. AAAA yyyy:yyyy::yyyy
When I check how it resolves from the server itself I see:
dig NN
NN. 0 IN CNAME ubuntu-24.localhost.
NN. 0 IN A xxx.xxx.xxx.xxx
;; ADDITIONAL SECTION:
ubuntu-24.localhost. 0 IN A 127.0.1.1
I think that because of the CNAME, I have this remark post installation:
BIND DNS server is installed, however, the default primary DNS server NN does not resolve to an IP address
As a result, when I want to use this name as a primary name server in a zone I get the following message:
I can’t tell what I’m looking at, as that doesn’t seem valid. I guess you’ve changed the IPs to words here to anonymize them? I can’t really tell you what’s wrong without seeing what’s actually happening.
Is it the same IP address as before? If not, you need to change the glue record at the registrar.
A and AAAA records are IP addresses, not names. As @Joe asked, did you change this just for the forum posting? Why not just uses X’s in the proper format for clarification? xxx.xxx.xxx.xxx
Well no, new VPS means a brand new IP and a brand new FQDN
I didn’t change anything at a registrar as the FQDN is not a first level domain, but I created a new entry in the zone I manage. Oh and yes I updated the PTR an the hoster.
I don’t know mxtool but dig @9.9.9.9 or anywhere else resolves it.