Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Dec 20, 2015 10:52 pm 
Offline
Senior Newbie

Joined: Sun Dec 20, 2015 10:42 pm
Posts: 5
I am trying to move hosting server to linode. The most of domains on the server use my own name servers. I was told that linode cannot issue IP addresses any more so i cannot move name servers here. I can contact all clients and get them to change their name servers to linode's ones and I can import, one by one, all of their domains in linode DNS manager. When all that is done, clients still might want to add subomain or change MX record without contacting me every time. Is there a way to automatically update linode dns every time domain is updated through cpanel?


Top
   
PostPosted: Mon Dec 21, 2015 7:26 am 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
Why can't you make ns1/ns2.clientsdomain.com your Linode address?


Top
   
PostPosted: Mon Dec 21, 2015 9:38 am 
Offline
Senior Newbie

Joined: Sun Dec 20, 2015 10:42 pm
Posts: 5
derfy wrote:
Why can't you make ns1/ns2.clientsdomain.com your Linode address?

You need IP address for each name server. Linode can give out only one.


Top
   
PostPosted: Mon Dec 21, 2015 9:51 am 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
No you don't. All of your client's nameservers can be different hostnames, yet resolve to the same IP.


Top
   
PostPosted: Mon Dec 21, 2015 10:11 am 
Offline
Senior Newbie

Joined: Sun Dec 20, 2015 10:42 pm
Posts: 5
derfy wrote:
No you don't. All of your client's nameservers can be different hostnames, yet resolve to the same IP.


Are you sure about that? I registered my name servers so long ago that something might have changed in a meantime. As far as i know each registered name server has to have its own IP address.


Top
   
PostPosted: Mon Dec 21, 2015 1:06 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
I'm sure.

Code:
[@l6 ~]$ whois derfy.net | grep ^Name
Name Server: NS1.DERFY.ORG
Name Server: NS2.DERFY.ORG
[@l6 ~]$ dig ns1.derfy.org +short
162.246.56.115
[@l6 ~]$ dig ns2.derfy.org +short
162.246.56.115
[@l6 ~]$


Top
   
PostPosted: Mon Dec 21, 2015 1:15 pm 
Offline
Senior Newbie

Joined: Sun Dec 20, 2015 10:42 pm
Posts: 5
derfy wrote:
I'm sure.

Code:
[@l6 ~]$ whois derfy.net | grep ^Name
Name Server: NS1.DERFY.ORG
Name Server: NS2.DERFY.ORG
[@l6 ~]$ dig ns1.derfy.org +short
162.246.56.115
[@l6 ~]$ dig ns2.derfy.org +short
162.246.56.115
[@l6 ~]$


Ahh, so it did change. Great. It really made no sense before. It was meant to force you to have hosts on separate physical networks, but people still used them on the same system anyway. I can just setup bind on the server and use linode as a slave.


Top
   
PostPosted: Thu Dec 24, 2015 7:20 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
It is sensible to have separate nameservers, and I believe some domain registrars will not permit what derfy is describing.

If you use Linode's nameservers, you can use the API to update records. If Cpanel can be configured to run outside scripts, you could put one together to make sure authenticated users can only modify their own domains (giving them the API key would let them modify ANY domains on your account).

Note that Linode generates new zone files every 15 minutes, so changes cannot take effect any faster or more frequently than that.


Top
   
PostPosted: Thu Dec 24, 2015 8:09 pm 
Offline
Senior Newbie

Joined: Sun Dec 20, 2015 10:42 pm
Posts: 5
Vance wrote:
It is sensible to have separate nameservers, and I believe some domain registrars will not permit what derfy is describing.

If you use Linode's nameservers, you can use the API to update records. If Cpanel can be configured to run outside scripts, you could put one together to make sure authenticated users can only modify their own domains (giving them the API key would let them modify ANY domains on your account).

Note that Linode generates new zone files every 15 minutes, so changes cannot take effect any faster or more frequently than that.


I am looking in doing just this - using Cpanel hooks to update domains at linode dns


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


Who is online

Users browsing this forum: No registered users and 4 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