Technical Information: DNS Services on Ubuntu Server

A nice reference for configuration of bind on Ubuntu server

Config files are under: /etc/bind

In named.conf.options:

In named.conf.local:

Create forward zone file:

Create reverse zone file(s):

Check BIND configuration syntax, zone(s), and reverse zone(s):

Restart BIND: systemctl restart bind9

Secondary DNS server differences:

If using UFW firewall, remember to update rules (on all DNS servers): ufw allow Bind9

On clients, in /etc/network/interfaces:

	dns-nameservers 192.168.0.123 192.168.0.125 8.8.8.8
	dns-search samudio.net

Refresh network interface (on clients): ifdown –force eth0 && ip addr flush dev eth0 && ifup –force eth0

Check /etc/resolv.conf on client for correct update, should look like:

	nameserver 192.168.0.123
	nameserver 192.168.0.125
	nameserver 8.8.8.8
	search samudio.net

Ubuntu infoLinux info