Properly Configuring A-Records in Virtualmin for DNS

neanderslob asked:

I’m trying to configure my own DNS with Virtualmin for a domain that I registered through GoDaddy. However, after following the instructions of GoDaddy’s support staff, I still can’t successfully ping my domain. They told me that everything is configured correctly on the GoDaddy end and that my A-records look fine (see below) in the following note:

This seems to be an issue with the server. I show Godaddy has your nameservers setup correctly however it looks like the server many not be configured with these nameservers/domain. We would recommend reviewing the server to make sure the domain is configured properly on that side.

In my GoDaddy Control Pannel
I’ve configured both my nameservers as


and I’ve also configured my Host Names with my two ip numbers


In my Virtualmin Records file, I have

$ttl 38400
            38400 )
@   IN  NS  NS2.UPSMART.COM.    IN  A    IN  A    IN  A  IN  A  IN  A    IN  A  IN  A   IN  A    IN  MX  5    IN  TXT "v=spf1 a mx ip4: ?all"

My question would be if anyone can think of something that I might me leaving out. Any suggestions are much appreciated.

My answer:

Ah, I see an obvious problem with your zone. You don’t have address records for your two nameservers, ns1 and ns2. You need to have them both in your zone file, and in GoDaddy’s control panel as glue records.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.