M
M
MadRat2013-12-01 13:34:58
Domain Name System
MadRat, 2013-12-01 13:34:58

How to speed up bind9 loading for 400000+ zones?

Loads about 3 hours on:
Quad core
6 GB RAM
SATA mirror
Debian 6.0.8

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vlad Zhivotnev, 2013-12-01
@MadRat

And how many zones on the disk occupy? Can it make sense to put it in the / dev / shm area and run from there?
Also, NSD is really much faster in this regard (it actually sucks everything into memory).

Y
Yuri Yarosh, 2013-12-01
@d00mko

Try NSD It stands on the root servers.
It also makes sense to speed up the disk subsystem with Flashcache and RAID10, and/or write the base to an SSD RAID.

C
cjey, 2013-12-01
@cjey

Theoretically, if each zone is stored in a separate file, then a lot of time will be spent opening/closing the zone file. You can try to combine the files into several large ones, then the download should speed up.

I
Ilya Evseev, 2013-12-02
@IlyaEvseev

Read habrahabr.ru/company/ukrnames/blog/129711/
Just your case.

D
Dmitry Kireev, 2013-12-01
@AutomationD

I would put a controller with good caching (real, iron), or use Flashcache and RAID10, as suggested by @d00mko .
Also, I would still trace dstat more precisely when loading the zone, then it will be clear what to "pump", but I think this is IO.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question