Minimal /etc/named.conf

The "directory" directive in the options statement tells BIND where to find the files defined in each zone statement. There are many more options that can be used to control the behaviour of the BIND server.

ZONE files

cp.net - /var/named/zd.cp.net

$TTL 86400
@ IN SOA ns.cp.net. nsadmin.cp.net.
(201001201200
1h
15m
30d
1h )
IN NS ns.cp.net.
ns IN A 192.168.99.53
vm1 IN A 192.168.99.53
vm2 IN A 192.168.99.2
vm3 IN A 192.168.99.3
vm4 IN A 192.168.99.4