New user struggling with DNS settings

thernes

New member
Joined
May 24, 2007
Messages
1
Well, I'm running only cpanel servers and now I've set up a DirectAdmin VPS and I'm having a hard time understanding the logic around setting up the DNS. The VPS I'm running is supposed to use ns5.myserver.com and ns6.myserver.com as nameservers and this seems to be automatically added in DA. myserver.com is not hosted on this server. Now I need to add the IP's of the nameservers, so I tried creating dns records for the nameservers with the appropriate a-records. But no matter what I seem to do, I can not get the nameservers set up properly. When I do a dns check, this is the result I get;

ERROR. One or more of your DNS servers are missing A records (per NS records that may be cached). As a result, they cannot be used. The problem hostnames are:

ns5.myserver.com. has no A record. ns6.myserver.com. has no A record.

even if I have set up both DNS's with their own dns record with the correct ip-address.

Obviously I am doing something wrong somewhere, so please give me a hand with this, as I have searched but not been able to find an aswer to this basic question.

thanks,


T
 
There are two steps involved in adding nameservers in DNS:

1) create A records for them in the zones that are serving them. If what you call myserver.com isn't hosted on this server, add a records for ns5 and ns6 in the zonefile wherever the DNS for myserver.com is hosted.

2) create glue records at your registrar by registering the nameservers at the registrar where you registered myserver.com. How you do this differs from registrar to registrar.

Jeff
 
Back
Top