-1

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

2
  • 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
3

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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