Hostname as nameserver

Hi all,

When I create a virtual server thru Virtualmin the aserver is created without any errors. However in DNS records I see that my hostname (, not the nameservers I created ( is assigned as the primary nameserver to the created domain.

Here is the DNS record:

$ttl 38400 @ IN SOA ( 1349890177 10800 3600 604800 38400 ) IN NS 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

Thanks for the assistance


Well, it’s not likely to cause any problems… however, I believe it’s assigning that name based on the value of System Settings -> Server Templates -> Default -> BIND DNS Domain -> Master DNS server hostname.

It will use your system’s hostname by default, but you can change that to if you prefer.


Thanks for the response Eric

I thought this is some mistake I made when I created master dns zone. These are the A records I have:

Name TTL Address Default Default Default

These are the NS records:

Name TTL Name Server Default Default

Are these all ok?

See if reading on this thread helps: