•
•
•
•
ns1 IN CNAME master.example.com.
web
IN A
10.0.2.10
web
IN A
10.0.3.10
web2
IN A
10.0.2.10
web3
IN A
10.0.3.10
web2
IN A
10.0.2.10
web3
IN A
10.0.3.10
web2
IN TXT “Network: Office1”
web3
IN TXT “Network: Backbone”
$ORIGIN example.com.
ns1 IN CNAME master.example.com
$ORIGIN example.com.
@ IN SOA master.example.com. root.example.com. (
$ORIGIN example.com.
@ IN SOA master.example.com. root.example.com. (
…
)
IN NS master.example.com.
logging {
channel bind_log {
file "bind.log" versions 3 size 10m;
severity warning;
};
category default {
bind_log;
};
};
•
•
•
•
•
•
•
$ sudo -u bind rndc reload # Reloads both config and zones
$ sudo -u bind rndc reload example.com # Reloads just example
$ sudo -u bind rndc flush # Clear the cache
$ sudo -u bind rndc querylog # Toggles the query log category
•
•
•
•
•