The allow-update in the first zone clause could have been omitted since it is the default behavior.
// // If you are just adding zones, please do that in /etc/bind/local include "/etc/bind/options"; // prime the server with knowledge of the root servers zone "." ; // be authoritative for the localhost forward and reverse zones, and for // broadcast zones as per RFC 1912 zone "localhost" ; zone "127.in-addr.arpa" ; zone "0.in-addr.arpa" ; zone "255.in-addr.arpa" ; include "/etc/bind/local"; $ORIGIN . www A 184.108.40.206 ; The IP of your web server if you want to have one.
mx1 A 220.127.116.11 ; The IP of your mx1 server mx2 A 18.104.22.168 ; The IP of your mx2 server Of course yours may have more or less lines and servers according to your needs.
A new version of BIND (BIND 9) was written by the ISC from scratch in part to address the architectural difficulties with auditing the earlier BIND code bases, and also to support DNSSEC (DNS Security Extensions).
Other important features of BIND 9 include: TSIG, DNS notify, nsupdate, IPv6, rndc flush (remote name daemon control), views, multiprocessor support, and an improved portability architecture.
The first thing you may want to check is where your zone files are stored, and that is not the same for each distribution, but you can change that if you want.
Where your zone files are, is defined in the options section of the // This is the primary configuration file for the BIND DNS server named. for information on the // structure of BIND configuration files in Debian, *BEFORE* you customize // this configuration file. ( 2010122801 ; serial 7200 ; refresh (2 hous) 7200 ; retry (2 hours) 2419200 ; expire (5 weeks 6 days 16 hours) 86400 ; minimum (1 day) ) $TTL 14400 ; 4 hours NS scz. A 10.1.1.1 ; If you want to assign a server to your domain MX 10 mx1 ; Your email server if you have any MX 20 mx2 ; Your secondary email server if you have one $ORIGIN linux10
allow-update-forwarding defines a match list, for instance, IP address(es) that are allowed to submit dynamic updates to a 'slave' sever for onward transmission to a 'master'.
This statement may be used in zone, view or an options clause.
allow-update defines an address_match_list of hosts that are allowed to submit dynamic updates for master zones, and thus this statement enables Dynamic DNS.
The default in BIND 9 is to disallow updates from all hosts, that is, DDNS is disabled by default.
The Domain Name System (DNS) is a hierarchical naming system built on a distributed database for computers, services, or any resource connected to the Internet or a private network.