Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a domain registered with a Directi reseller and I'm attempting to have the domain resolve to a VPS I have recently rented.

I've read about the term "glue record" which I think is required if I want mydomain.com to use nsX.mydomain.com rather than the nameservers of my registrar or hosting.

My registrar however requires me to point my domain to ns1.domaincentral.com etc. before it allows me to manage the records, letting me create nsX.mydomain.com.

I have been given a single IP address with my VPS so I currently have ns1.mydomain.com and ns2.mydomain.com pointing to that IP address.

I feel that the above question is lacking clarity so feel free to ask specific questions in order to gain the information required to solve the problem.

share|improve this question
    
So your registrar requires you do use their NS servers, or a 3rd party? Have you tried calling them to verify they will not do glue records (your understanding is correct)? –  Chris S Aug 10 '10 at 20:29
    
If I want to use the DNS features I need to point to their registrars. I've read through google that it should be possible using my registrar but the articles are vague and don't describe how to do this. –  Ash Aug 10 '10 at 21:38

1 Answer 1

up vote 0 down vote accepted

Additional resource you may need from Directi reseller documents: http://manage.directi.com/kb/servlet/KBServlet/faq580.html and http://manage.directi.com/kb/servlet/KBServlet/faq471.html

You need 2 ips within your VPS and a dns server on it to be able to glue your domain to it or you need a backup dns if you can't get a 2nd ip.

In your DNS server you would have your domain zone where ns1 would point to your main ip and ns2 would point to your 2nd ip and/or slave dns.

Depending on how your registar panel works you would need to first use their panel to create within your domain A record for ns1 @ your_1st_ip and ns2 @ your_2nd_ip or a CNAME to ns2 @ your_slave_dns.

a sample of how it would look like if you had 2 ips is:

; Zone file for mydomain.com
$TTL 86400
@ 14400 IN SOA ns1.mydomain.com. admin.mydomain.com. (
   2010081001 ; serial, todays date+todays
   86400 ; refresh, seconds
   7200 ; retry, seconds
   360000 ; expire, seconds
   86400 ) ; minimum, seconds

mydomain.com. 14400 IN NS ns1.mydomain.com.
mydomain.com. 14400 IN NS ns2.mydomain.com.

ns1 IN A my_1st_ip
ns2 IN A my_2nd_ip
mydomain.com. IN A my_web_server_ip

localhost.mydomain.com. IN A 127.0.0.1

mydomain.com. IN MX 0 mail.mydomain.com.

mail IN A my_mail_server_ip
www IN A my_web_server_ip
ftp IN A my_ftp_server_ip

and this is how it would look like if your 2nd dns is from somewhere else:

; Zone file for mydomain.com
$TTL 86400
@ 14400 IN SOA ns1.mydomain.com. admin.mydomain.com. (
            2010081001 ; serial, todays date+todays
            86400 ; refresh, seconds
            7200 ; retry, seconds
            360000 ; expire, seconds
            86400 ) ; minimum, seconds

mydomain.com. 14400 IN NS ns1.mydomain.com.
mydomain.com. 14400 IN NS ns2.mydomain.com.

ns1    IN  A   my_1st_ip
ns2    IN  CNAME   ns1.my_slave_dns_from_somewhere_else.com
mydomain.com.    IN  A   my_web_server_ip

localhost.mydomain.com.    IN  A   127.0.0.1

mydomain.com.    IN  MX  0   mail.mydomain.com.

mail    IN  A   my_mail_server_ip
www    IN  A   my_web_server_ip
ftp    IN  A   my_ftp_server_ip

Dont forget that you have to restart your DNS server for these to take place and that there is a propagation time once you change your dns within your registar that can take up to 2 days or so.


Another option is to use an outside DNS server like http://www.zoneedit.com/ for example, using Zone Edit all you would have to do is point their main and secondary dns to a CNAME within your domain like:

ns1      IN CNAME   ns12.zoneedit.com.
ns2      IN CNAME   ns34.zoneedit.com.

And then use your ns1/ns2.yourdomain.com at your registar to change it, but you must first use zoneedit's dns system to let the changes propagate.

share|improve this answer
    
I ended up using the "Add Child Nameservers" in my domain control panel. I'll mark your answer as correct. –  Ash Aug 12 '10 at 2:25
    
If you have any further questions let us know :) while i am not familiar with Directi i will try to assist with what i can. –  Prix Aug 12 '10 at 3:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.