Results 1 to 11 of 11
Thread: DNS server question
-
10-08-2016, 06:04 PM #1Junior Guru Wannabe
- Join Date
- Oct 2009
- Location
- Kuala Lumpur
- Posts
- 77
DNS server question
How can i create one DNS for multiple servers?
Just say I have 5 dedicated server with cPanel. Each dedicated server have its own IP address and each server have 100 websites hosted. so i have total 500 websites in this 5 dedicated severs. Now my question is how can I setup only one DNS for all this 5 Servers?
For example:
ns1.domainname.com IP: XXX.XXX.XXX.1
ns2.domainname.com IP: XXX.XXX.XXX.2
How can i setup this DNS in all 5 servees and they will work perfectly. I saw Shared hosting companies are doing this. No metter which server you buy, You just setup there one default DNS and you are pointimng to your server.
Please discribe.
ThanksConsultant, Digital marketing at "Ariyes Online Sdn Bhd" - Malaysia based IT service provider
-
10-08-2016, 06:20 PM #2Temporarily Suspended
- Join Date
- Aug 2014
- Location
- Manchester
- Posts
- 69
not clear question..
DNSs should be at least two!
For each website you have many records(A,MX,etc) that point to the server where the website is hosted
the web server will recognize the http get and associate the right website
-
10-08-2016, 06:30 PM #3Web Hosting Master
- Join Date
- May 2012
- Location
- Linux World
- Posts
- 1,137
Please read more on DNS clustering, you can add the 4 servers to the DNS cluster. Read more on cPanel DNSONLY
Kevin Cheri : Senior Server Administrator / Freelancer : 13+ years Exp, reach me out for any help
Server Optimization Expert / Mysql Guru / Migration Specialist
Skype : lynxmaestro
Gmail : cheri.kevin@gmail.com
-
10-08-2016, 08:06 PM #4Knowledge is all
- Join Date
- Jul 2005
- Location
- here, there, where?
- Posts
- 4,101
For cPanel, check https://documentation.cpanel.net/dis...Configurations . You will want to have at least two separate nameservers and it is best for them to be geographically different so that if one goes down, the other is responding. You might be able to use 2 of those 5 servers you have, however, I would recommend using a cpanel DNS only install on a 2 VPSes for example at different datacenters to reduce dependency.
-Steven | Cooini, LLC
"It is the mark of an educated mind to be able to entertain a thought without accepting it" -Aristotle
-
10-09-2016, 03:05 PM #5Junior Guru Wannabe
- Join Date
- Oct 2009
- Location
- Kuala Lumpur
- Posts
- 77
Maybe i coudent explain properly. Ok Let me try again. First of all I am very newbie about DNS staffs.
My question is: Just say I have 5 dedicated cPanel servers. this 5 Servers have 5 dedicated IP addreses. I want to make only 2 DNS (ns1.domain.com and ns2.domain.com) for all this 5 Servers. How can i do That?
I don't want to make seperate DNS for every server. I just want 2 DNS which will point all this 5 Servers.
if you can discribe step by step that will be grate.
Thanks in advance.
-
10-09-2016, 03:14 PM #6Web Hosting Master
- Join Date
- Mar 2012
- Posts
- 833
DNS cluster should help you. Here is documentation url for it.
https://documentation.cpanel.net/dis...LD/DNS+Cluster
-
10-10-2016, 10:44 AM #7Knowledge is all
- Join Date
- Jul 2005
- Location
- here, there, where?
- Posts
- 4,101
-Steven | Cooini, LLC
"It is the mark of an educated mind to be able to entertain a thought without accepting it" -Aristotle
-
10-10-2016, 06:24 PM #8Junior Guru Wannabe
- Join Date
- Oct 2009
- Location
- Kuala Lumpur
- Posts
- 77
Ok here is what I did. I have a domain in GoDaddy. I create two host names with the following IPs in the godaddy domain setting page.
Ns1.yourcaffe.com (64.182.235.160)
Ns2.yourcaffe.com (64.182.235.174)
Now I create two cpanel DNS only server (VPS) with those two IP 64.182.235.160 And 64.182.235.174.
Then I logged in to those DNS servers and enable DNS cluster.
Then I logged in to my main web server (another cpanel server with full license, located in a different datacenter) and add a hosting account for a different domain name www.travelqa.com. FYI this domain also registered in godaddy and I setup NS for this domain as flowing :
Ns1.yourcaffe.com (64.182.235.160)
Ns2.yourcaffe.com (64.182.235.174)
Please note that this main server is in a different data center and my two DNS only server is in another datacenter.
Now I add this two DNS only server in the main server DNS cluster section. Then I try to load the domain www.travelqa.com and it's loading fine.
Well up to this everything is fine, but the confusion start to create when I turn off (complete power off) those two DNS server and reload the domain www.travelqa.com in the browser, it's still loading!!! First I was confused, I thought maybe chacha, so I clear the browser. But no it's still loading. And now after two days it's still loading.
I don't know how and why this website still working when I turn off both the DNS server and this domain using NS which IP address is from those DNS servers
I still didn't get it, but I know I am doing something wrong.
Please guide me where I am wrong.
Thanks
-
10-10-2016, 07:49 PM #9Knowledge is all
- Join Date
- Jul 2005
- Location
- here, there, where?
- Posts
- 4,101
Looks like the ns1 is still responding where as ns2 isn't. As such, ns1 will still provide results.
Code:$ nslookup travelqa.com 64.182.235.160 Server: 64.182.235.160 Address: 64.182.235.160#53 Name: travelqa.com Address: 23.111.153.122 $ nslookup travelqa.com 64.182.235.174 Server: 64.182.235.174 Address: 64.182.235.174#53 ** server can't find travelqa.com: REFUSED
-Steven | Cooini, LLC
"It is the mark of an educated mind to be able to entertain a thought without accepting it" -Aristotle
-
10-11-2016, 04:57 PM #10Junior Guru Wannabe
- Join Date
- Oct 2009
- Location
- Kuala Lumpur
- Posts
- 77
Ok i have solve this issue, Now my question is Do I need to Synchronize the DNS servers and Main servers Both way? Or I can do it only one way, like I added DNS cluster in Main server and set that to Synchronize Changes Mood, but I didnt add anything in cPanel DNS only Server. I just Enable the DNS cluster in cPanel DNS only servers.
What if i do both way Synchronize and what if its only one way Synchronize?
Regards
-
10-11-2016, 05:35 PM #11Knowledge is all
- Join Date
- Jul 2005
- Location
- here, there, where?
- Posts
- 4,101
The main servers should sync to the nameservers running in DNS only.
-Steven | Cooini, LLC
"It is the mark of an educated mind to be able to entertain a thought without accepting it" -Aristotle
Similar Threads
-
DNS server question
By ROSSLO in forum VPS HostingReplies: 5Last Post: 04-04-2010, 07:11 PM -
Godaddy DNS server question?
By coralnutz in forum Domain NamesReplies: 3Last Post: 10-01-2006, 11:35 PM -
DNS Server Question
By canfone in forum Dedicated ServerReplies: 1Last Post: 03-02-2004, 06:10 AM -
DNS server question
By LindonNetworks in forum Hosting Security and TechnologyReplies: 1Last Post: 06-06-2003, 11:17 PM -
Quick DNS server question
By nmluan in forum Web HostingReplies: 3Last Post: 04-29-2003, 08:10 AM