Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Nameserver alias?
PostPosted: Sat Feb 11, 2012 4:06 pm 
Offline
Newbie

Joined: Sat Feb 11, 2012 4:01 pm
Posts: 2
This seems like a crazy question to me, but the idea popped in my head and I'm wondering if anyone else thinks it's less crazy.

Can I effectively mask/redirect to Linode's nameservers using my domain? I have clients set to ns1 and ns2.mydomain and if I move them here I'd like to keep their nameservers the same if possible. It isn't a huge deal, but if I can do it that's the route I'd rather take. Am I nuts?


Top
   
 Post subject:
PostPosted: Sat Feb 11, 2012 4:15 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
No, that's not how nameservers work.


Top
   
 Post subject:
PostPosted: Sat Feb 11, 2012 6:45 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
Hmm, if I understand the question correctly I don't think there's any particular reason it couldn't be done, though I'm not sure I'd suggest it.

First off, I assume we're talking about DNS servers that service the domains in question (e.g., client domains) and not that you give those nameservers to clients to use as resolvers.

Presumably, today, each client's domain registration (whois) has ns1 and ns2 as the two nameservers, with glue records pointing at the IP addresses of whomever's nameservers you currently use.

I don't think there's anything stopping you from changing those glue records to point to Linode's nameservers (or at least 2 of them), and if you first populated Linode's nameservers with your client's domain records, everything should keep working once the registrar update propagates.

With that said, you're then responsible for maintaining those glue records in sync with the actual IP addresses used by the Linode nameservers, which seems risky to me (though I'm not sure to date they've ever changed). Presumably that's already the case with your current provider, though they may also specifically provide servers with addresses assumed to be referenced through such means.

This assumes ns1/ns2 are currently run by your current provider. If in fact, you're hosting them on your own machines (thus the glue records point to machines you control), that's more robust, since you can re-point them at Linode's you control and since you handle both the actual host (and its IP address) and the glue records, there's less risk of mismatch.

But sans owning the servers yourself, better would be to just changing the registrar data to use the Linode nameservers by name, and avoid the glue records, though you'd have to give up the vanity nameservers in that case.

-- David


Top
   
 Post subject:
PostPosted: Sat Feb 11, 2012 6:49 pm 
Offline
Newbie

Joined: Sat Feb 11, 2012 4:01 pm
Posts: 2
Good thoughts. Appreciate the help. I am currently hosting my own DNS but my knowledge of DNS gets a bit cloudy in the terminal, and I'm considering ditching cPanel and Apache for a lighter setup here. I could run a LAMP/LEMP server as if I've been a system administrator for years, but it's funny how quickly my brain tries to steer me away from DNS.


Top
   
 Post subject:
PostPosted: Sun Feb 12, 2012 1:56 am 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
Exceedingly easy to do.

You "register" name servers with their ip address, I do it on all of my linode sites. You can even glue IPv6 on the linode name servers that are IPv6. (As of this writing, that's ns1, ns2, ns4)

There is a caveat, some top level domains do not support alias's for registering name servers.. I only did IP routing stuff for about 6 months. I believe there are issues with this setup, and .org domain names.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group