MindServer

Well-Known Member
Mar 18, 2020
64
5
8
Spain
cPanel Access Level
Root Administrator
Hi,

We're configuring new server for have many domains (more than 250) and we have a question:

-You recommend me configure 2 DNS or 3 DNS?
-You recommend me configure the DNS in same server or each one in different server? (we have traffic from all world)
-Is this going to affect the response time / performance?

Thank you very much!
 

bejbi

Well-Known Member
PartnerNOC
Jan 20, 2006
134
20
168
Poland
cPanel Access Level
DataCenter Provider
"geographically different locations will allow for some decrease response time"

It will make nothing - becouse dns servers are asked randomly - so you have no sureness that customer will connect to nearest dns server.

If you would like to have always be sure to connect to nearest dns - you will need dns-anycast technology. But it is very complicated - you will need several bgp servers all arount the world and they need to progatate the same IP subnets ... very complicated.

Answer for question is about good practice

for 250 domain you need at least 2 dns servers (for many registrars is the must to have 2 dns). Third is optional.
DNS-servers can be the same servers as hosting servers, but it is good practice to have separate servers: in cPanel you have cpanel-dnsonly licence for such servers.

If it is possible - they should be in two separate network (separate network means: two AS networks) - it is not to shorten response time, but it is for be sure about redundancy - when first dns is not alailable, computers/servers will try to connect to next one - so the domain will not disapear completly from internet.
 
  • Like
Reactions: MindServer

MindServer

Well-Known Member
Mar 18, 2020
64
5
8
Spain
cPanel Access Level
Root Administrator
"geographically different locations will allow for some decrease response time"

It will make nothing - becouse dns servers are asked randomly - so you have no sureness that customer will connect to nearest dns server.

If you would like to have always be sure to connect to nearest dns - you will need dns-anycast technology. But it is very complicated - you will need several bgp servers all arount the world and they need to progatate the same IP subnets ... very complicated.

Answer for question is about good practice

for 250 domain you need at least 2 dns servers (for many registrars is the must to have 2 dns). Third is optional.
DNS-servers can be the same servers as hosting servers, but it is good practice to have separate servers: in cPanel you have cpanel-dnsonly licence for such servers.

If it is possible - they should be in two separate network (separate network means: two AS networks) - it is not to shorten response time, but it is for be sure about redundancy - when first dns is not alailable, computers/servers will try to connect to next one - so the domain will not disapear completly from internet.
Oh thank you very much for info.

"AS networks" is a Datacenter?. When one data center have problem, the domain will load with DNS in server from other data center yes?.

Thank you again.
 

bejbi

Well-Known Member
PartnerNOC
Jan 20, 2006
134
20
168
Poland
cPanel Access Level
DataCenter Provider
DNS server is not hosting server. When one DNS server is not working - customer (or server/browser etc) could use second DNS.

When hosting server is not working - sorry, there is nothing to do - you can only wait for hosting server is up. But when hosting server is up - it is available mmediately becouse domains are still propagated in the internet (becouse dns servers are working all the times).

AS network is: Autonomous system (Internet) - Wikipedia

You can check IP and AS, for example: Webupdates
there is info: origin: AS39566
 
Last edited by a moderator:
  • Like
Reactions: MindServer

MindServer

Well-Known Member
Mar 18, 2020
64
5
8
Spain
cPanel Access Level
Root Administrator
DNS server is not hosting server. When one DNS server is not working - customer (or server/browser etc) could use second DNS.

When hosting server is not working - sorry, there is nothing to do - you can only wait for hosting server is up. But when hosting server is up - it is available mmediately becouse domains are still propagated in the internet (becouse dns servers are working all the times).

AS network is: Autonomous system (Internet) - Wikipedia

You can check IP and AS, for example: Webupdates
there is info: origin: AS39566
Thank you very much for the info.

Have nice day!