Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
SSH is the key. (What a pun.) – mailq Oct 3 '11 at 17:41
@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
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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