darkshadow604

Active Member
Feb 4, 2006
27
0
151
Hello,

I run and operate a free host, and will require the usage of multiple servers but with the same domain for subdomains.

If I do DNS clustering, can all servers use the same subdomain? And what way should I do it?

Thanks in advance,
Otto
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Use the same subdomain? Do you mean load balancing?


Anyway, dns clustering will share dns records across all servers in the cluster and or however you decide to sync the records with each server.

This makes moving accounts very easy with little downtime.

For your situation, you could simply have your main domain on one server and distribute subdomains to other servers in the cluster and they will find the location just fine by sharing dns records.

You would need to create an cpanel account for each sub domain that is not on the parent domain server in order to manage its files, zone and features.
 

darkshadow604

Active Member
Feb 4, 2006
27
0
151
Ok, just to clarify, I'm not using load balancing. I just want all the servers to use a domain to make subdomains.

For example, domain.com are on nameservers ns1.domain.com, ns2.domain.com.

Server 1 can use it to make an account with subdomain: 1.domain.com

Server 2 can also make an account with subdomain: 2.domain.com

That's what DNS clustering does?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Ok, just to clarify, I'm not using load balancing. I just want all the servers to use a domain to make subdomains.

For example, domain.com are on nameservers ns1.domain.com, ns2.domain.com.

Server 1 can use it to make an account with subdomain: 1.domain.com

Server 2 can also make an account with subdomain: 2.domain.com

That's what DNS clustering does?
No.

DNS Clustering allows DNS records to be stored on a remote server so if your cPanel/WHM server goes down, DNS queries can still be handled.

DNS Clustering has nothing to do with enhancing/degrading the capabilities of DNS such as creating sub-domains etc.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
But shouldn't all servers retrieve queries from the master server?
What exactly do you mean?

Note that this is not the same as the deprecated master/slave DNS server relationships previously supported by cPanel/WHM so there is no designated master server. In a cPanel DNS Clustering setup there are 1 or more cPanel/WHM servers and a single DNS-Only server.
 

Eboy

Member
Aug 8, 2003
10
0
151
DNS Clustering allows DNS records to be stored on a remote server so if your cPanel/WHM server goes down, DNS queries can still be handled
... but it also makes the DNS zones to be transferred to every server in the DNS Cluster, making a huge security risk of it.
 

hbidad

Well-Known Member
Apr 16, 2005
74
1
158
Now I'm confused...

We have 4 cpanel servers in a cluster working just as it should.

Please elaborate on your Comment cPanelDavidG
 

mikelegg

Well-Known Member
Mar 29, 2005
330
3
166
Now I'm confused...

We have 4 cpanel servers in a cluster working just as it should.

Please elaborate on your Comment cPanelDavidG

You can have as many "Full" cPanel servers clustered as you like, but you can only have one "DNS-ONLY" server in the cluster.
 

VeZoZ

Well-Known Member
Dec 14, 2002
245
0
166
cPanel Access Level
DataCenter Provider
At this time, that is correct.

Now I am really confused because I am currently running two DNS only servers inside of a cluster. All our cPanel machines send their updates to the primary who then sends those entries to the secondary. I've had this setup for quite a while to without issue
 

bmuthig

Member
PartnerNOC
Feb 15, 2004
22
0
151
Ann Arbor, MI
cPanel Access Level
DataCenter Provider
2 DNS-only servers - supported or not?

I have to say I find this quite perplexing.

From a sysadmin standpoint it seems quite "normal" to want to separate DNS servers out to their own servers once you are dealing with enough domains and a larger network for various reasons. We are in fact planning on moving to a 2 DNS only cluster setup from our current one DNS only cluster setup and would like to know for sure if this is going to be supported. Honestly from a technical standpoint, I don't see why it wouldn't be. Like VeZoZ said, it works fine right now but I would like to make sure if will stay that way in the future.

Can you possibly escalate this question to a higher level and get an official response on this?

If this isn't "officially" supported, it certainly should be. When you are scaling to lots of servers in the same cluster it's inevitable you will want to have dedicated boxes for DNS and not run it on the same box with customers on it.

Thanks.
 
C

cPanelBilly

Guest
Dave beat me to it :)
 
Last edited by a moderator: