Template ......... DNS Zone [dnszone]
Domain ........... yourdomain.example
Default Domain ... yourdomain.example
Zone File ........ /etc/bind/yourdomain.example.zone
Restrict to one class . on
Host class ....... Server
$TTL 3600
@ IN SOA ns1.yourdomain.example. yourname.yourdomain.example. (
1 ; ##serial - this will be auto-updated by the Director
3600 ; Refresh
300 ; Retry
3600000 ; Expire
100000 ) ; Minimum
IN TXT "v=spf1 ptr ip4:1.2.3.4/24 ip4:192.168.0.0/16 -all"
IN NS ns1.yourdomain.example.
IN NS ns2.yourdomain.example.
IN MX 5 mailhost
somename IN A 1.2.3.4
;##BEGIN director maintained section
; This section will be replaced by the Director
;##END director maintained section
The serial number will be incremented by the Director when necessary, all other information outside of the marked section (#BEGIN ... #END) will be left untouched. There, you can manually maintain DNS records.
Now, you have to point your BIND server to the just created zone file. Make an entry in named.conf like i.e.:
zone "yourdomain.example" { type master; // what used to be called "primary" file "/etc/bind/yourdomain.zone"; };
Re-start your BIND server and watch the log messages - the zone should load ok.
Now setup your DNS Zone in the Director.
1.4.5