DNS problem with a lot of domains +30000!

xeryph

Verified User
Joined
Dec 27, 2004
Messages
73
Hello,

we have a very strange problem with dns. Now, we have 2 separate server with directadmin and of all ours servers has got multi server turned on.

Now we have more than 30000 domains on dns server. There appear problem, because some sites loading slow, too slow. Load on server is quite good. We tested the same situation on new domains and empty server - only with html - too slow.

Do you know some tricks to make dns more powerful? I've just read about MasterToSlave DNS but don't know what to think about it.

Thanks.
 
Changing the way those domain zones synchronize themselves between servers will not solve the problem; adding more servers probably will.
Have you tried using an external secondary DNS service, synchronized via AXFR?

Also, to make sure that the problem is actually the DNS service you may want to investigate a little bit more: check memory, CPU and IO load of the "named" process, measure the DNS reply latency and reliability, etc.
 
I have second dns but there is the same, there is two servers on multi server.

I want to make some transfer zones in bind, but havent know how yet.

I want on dns server make simlinks to other servers in my network and their own dns.
 
Changing the way those domain zones synchronize themselves between servers will not solve the problem; adding more servers probably will.
Have you tried using an external secondary DNS service, synchronized via AXFR?
.


I know, I can do separate dns for each server on their own, ex:

server1.bb.com and dns: ns11.bb.com and ns12.bb.com
server2.bb.com and dns: ns21.bb.com and ns22.bb.com

etc

but I want to have only two name server ns1.bb.com and ns2.bb.com. It is no problem for customers.
 
I have second dns but there is the same, there is two servers on multi server.
That's not what I meant. I meant an external service, an addictional secondary DNS service. For example there is one for free at http://freedns.afraid.org/secondary/
I want to make some transfer zones in bind, but havent know how yet.
Like I said, it doesn't matter how you synchronize your DNS servers. Right now you are using the Multi-Server setup of DirectAdmin in two servers, which doesn't use zone trasfer (AXFR) but it's just as good.
I want on dns server make simlinks to other servers in my network and their own dns.
It doesn't work like that. You have to synchronize your DNS zones between more servers and set them as addictional NS records of your domains.
I know, I can do separate dns for each server on their own, ex:

server1.bb.com and dns: ns11.bb.com and ns12.bb.com
server2.bb.com and dns: ns21.bb.com and ns22.bb.com

etc

but I want to have only two name server ns1.bb.com and ns2.bb.com. It is no problem for customers.
What about having:
ns1.bb.com -> server1.bb.com
ns2.bb.com -> server2.bb.com
(those two synchronize each other with Multi-Server)
ns3.bb.com -> ns2.afraid.org
ns4.bb.com -> (any other free/purchased secondary DNS service)
(those two fetch any zone from ns1 or ns2 automatically, using NOTIFY and AXFR)

The RFC suggests 3 nameservers minimum and 5 maximum. Given that you have more than 30'000 domains, I'd say 4 or 5 is the right choice to cope with the traffic.
 
Hi,

it is not what I want. I think about how to set up transfer zones from slave servers to masters. Do you know some HOW TO?
 
There appear problem, because some sites loading slow, too slow.

First you do not even know for sure its a dns problem. It could be other things. Why don't you give a few domains to check and then we can be sure.
 
I know that it is dns problem.

Ok then. I have had over 40,000 domains on a single dns server with no slowness on a very cheap server.

You have not given us any evidence that its a dns problem. Where are the timed queries?

Do not let arrogance get in the way of finding a solution.
 
What do you want to know about Master2Slave DNS Replicator? I paid to have it written to us for our commercial DNS slave service, and I put it under GPL.

It's a simple system for transferring a list of domains from a master server to slave server, and for creating a named.conf file (actually an include file) on the slave server, so the slave server will pick up domains from the master server using axfr.

Jeff
 
What do you want to know about Master2Slave DNS Replicator? I paid to have it written to us for our commercial DNS slave service, and I put it under GPL.

It's a simple system for transferring a list of domains from a master server to slave server, and for creating a named.conf file (actually an include file) on the slave server, so the slave server will pick up domains from the master server using axfr.

Jeff


Yes, I've just read. I need to test it on my machines. Thank you.
 
xeryph has given me some domains to check through a series of PM's. I could not find any slowness anywhere. DNS queries were ok and web sites loaded fast.

I suspect any slowness he is seeing is somewhere else.
 
Back
Top