These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Hostname as nameserver on the new forum.
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 (server1.mydomain.com), not the nameservers I created (ns1.mydomain.com) is assigned as the primary nameserver to the created domain.
Here is the DNS record:
$ttl 38400
@ IN SOA server1.mydomain.com. root.server1.mydomain.com. (
1349890177
10800
3600
604800
38400 )
createddomain.com. IN NS ns2.mydomain.com.
createddomain.com. IN A 141.0.169.249
www.createddomain.com. IN A 141.0.169.249
ftp.createddomain.com. IN A 141.0.169.249
m.createddomain.com. IN A 141.0.169.249
localhost.createddomain.com. IN A 127.0.0.1
webmail.createddomain.com. IN A 141.0.169.249
admin.createddomain.com. IN A 141.0.169.249
mail.createddomain.com. IN A 141.0.169.249
createddomain.com. IN MX 5 mail.createddomain.com.
createddomain.com. IN TXT "v=spf1 a mx a:createddomain.com ip4:141.0.169.249 ~all
Thanks for the assistance
Howdy,
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 ns1.domain.com if you prefer.
-Eric
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
server1.mydomain.com. Default xxx.xx.xxx.xxx
ns1.mydomain.com. Default xxx.xx.xxx.xxx
ns2.mydomain.com. Default xxx.xx.xxx.xxx
These are the NS records:
Name TTL Name Server
server1.mydomain.com. Default ns1.mydomain.com.
server1.mydomain.com. Default ns2.mydomain.com.
Are these all ok?
See if reading on this thread helps: http://www.virtualmin.com/node/22453