make
Use dig
to check dns server is work.
In arch linux, you can execute following command:
pacman -S extra/bind
dig @localhost zonda.tw
if you want to use log, remember execute following command:
mkdir -p /var/log/bind
chown bind /var/log/bind
service named restart
Stopping domain name service...: namedrndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: named failed!
you can use named command to debug it.
/usr/sbin/named -g
Debian Bind9 wiki
How to Install and Configure DNS Server in Linux
Running a DNS Server in Docker
How to delegate a sub-domain to other DNS servers
Enabling logging in BIND
BIND Logging - some basic recommendations
DNS Server 開啟 Log 記錄檔 - BIND