Bind include all zones in a folder

Posted by alexcepoi on Server Fault See other posts from Server Fault or by alexcepoi
Published on 2011-02-07T15:08:11Z Indexed on 2011/02/07 15:27 UTC
Read the original article Hit count: 237

Filed under:
|
|
|

I have a webapp that acts as a DNS manager, writing all zones to "/var/named". I would like to be able to configure named to load all zones in that folder, without explicitely having to tell it which zone goes to which file.

Is that remotely possible?

The reason for this is that i will be having a lot of zones added/deleted and a lot of records for each of them. I was thinking for using a database for that, but the idea of doing 500 record inserts scares me (it needs to be snappy). It's easier to write to a file.

Any suggestions?

© Server Fault or respective owner

Related posts about dns

Related posts about bind