What is an easy way to programmatically add new zone files and change the BIND configuration from a remote server?

link|improve this question
SSH is the key. (What a pun.) – mailq Oct 3 '11 at 17:41
May I ask why the downvotes? – Radu Oct 3 '11 at 18:32
@rdineiu the question is very vague, we really can't tell what you're trying to do. Please see How to Ask for details. Also, asking for the "best" is argumentative, everyone's got an opinion. – Chris S Oct 3 '11 at 20:42
feedback

1 Answer

up vote 3 down vote accepted

The fastest and arguably easiest is to connect to the server via a console like SSH (or telnet if you really don't care about security) then changing the configuration files with your favorite CLI editor (eg emacs or vi).

BIND also has has rndc which allows for certain administrative tasks. If BIND is backed by a database, then you can directly edit the database.

There are some web GUIs that can be installed and configured to administer BIND, but generally require quite a bit of setup; most of which may be very foreign to someone looking for an "easy" way to configure a DNS server.

link|improve this answer
I need to add zones programmatically, so the database backed BIND sounds the best. – Radu Oct 3 '11 at 18:34
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.