Bind

BIND
BIND is the ISC's Domain Name Server software. It is included in many Linux distributions. This page will provide an introduction to BIND, as well as a simple configuration file. For more detailed information, see the Bind 9 Administrator Reference Manual.

A Simple Configuration
options { directory "/etc/namedb";          // Working directory allow-query { any; };             // This is the default recursion no;                     // Do not provide recursive service }; // Provide a reverse mapping for the loopback address 127.0.0.1 zone "0.0.127.in-addr.arpa" { type master; file "localhost.rev"; notify no; }; // We are the master server for example.com zone "example.com" { type master; file "example.com.db"; // IP addresses of slave servers allowed to transfer example.com allow-transfer { 192.168.4.14;          192.168.5.53;      }; }; // We are a slave server for eng.example.com zone "eng.example.com" { type slave; file "eng.example.com.bk"; // IP address of eng.example.com master server masters { 192.168.4.12; }; };

(From the Bind 9 ARM)

You will also need to set up zone files. Zone files are files that contain the data for the zone.

Controlling the Server
rndc start starts the server.

rndc stop stops the server.

rndc restart stops and then starts the server.

rndc reload causes the server to reload its configuration and zone files.