Improve performance of bind9 service restart

Posted by Jakob on Server Fault See other posts from Server Fault or by Jakob
Published on 2011-01-06T09:20:22Z Indexed on 2011/01/06 9:56 UTC
Read the original article Hit count: 387

Filed under:
|
|
|

Hi,

I'm setting up a name server hosting DNS for a large number of domains, 50,000 - 100,000 domains.

I will be using Bind9 and the service will need to be restarted several times a day.

I have made some tests and it seems that restart of the Bind9 service scales very poorly with the number of domains.

 #domains | restart time
 -----------------------
   10,000 |    3.1 sec
   25,000 |    8.9 sec
   50,000 |     50 sec
  100,000 |   7:50 min

Is there some way to speedup the restart of the service? I have noticed that restart only utilizes one core, is there some way for it to use more cores?

The Bind9 version is 9.7.1-P2 with default configuration.

The server running Bind9 is a Intel Core 2 Due 2.93 GHz with 4 GB memory and Ubuntu Server 10.10.

Any help will be appreciated.
Jakob

© Server Fault or respective owner

Related posts about dns

Related posts about Performance