Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
@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

1 Answer 1

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

 
discard

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.