How do I create a zone file using the DNS Management tool?
The DNS Management tool (Select My Services > DNS) or DNS Zones from your logged in home page allows you to create and manage DNS zones.
The steps below create a sample zone as defined outlined below. In order for this zone to resolve you need to update the domain at your registrar and point it to ns1.hostvirtual.com and ns2.hostvirtual.com.
To quick add a zone, enter the domain name, for example "example.com" in the zone field, and the primary IPv4 IP address of your server. Click add. A default zone will be created with entries for example.com, www.example.com, mail.example.com, etc. You can then use this as a starting point to edit or delete, or follow the example below to create a zonefile yourself.
[a] Point hostvirtual.com to 220.127.116.11
[b] Cname www.hostvirtual.com to hostvirtual.com
[c] Point mail.hostvirtual.com to 18.104.22.168
[d] Create an MX entry for mail.hostvirtual.com with priority 0.
Note: replace example.com below with your domain. (We would replace it with hostvirtual.com to get the results outlined above.)
First, add your Zone file. Select Tools > DNS Management. Enter in example.com and select Add Zone >
Click the zone example.com to go into its details
Set type to: A, enter example.com for name, and enter 22.214.171.124 for value. Click add. This will complete [a] as outlined above.
Set type to: CNAME, enter mail for name, and enter www.example.com for value. Click add. This will complete [b] above.
Set type to: A, enter mail for name, and enter 126.96.36.199 for value. Click add. This will complete [c] above.
Set type to: MX, leave name blank, and enter mail.example.com for value. Set priority to 0. Click add. This will complete [d] above.
Updates via this interface are propogated instantly to our dns servers. In order to troubleshoot or confirm entries, you should use the dig tool or nslookup tool. Be sure to always explicitly specify one of the dns servers when testing with dig or nslookup to avoid any problems with caching resolvers.
Example: dig @ns1.hostvirtual.com hostvirtual.com
Example: nslookup hostvirtual.com ns1.hostvirtual.com