User Tools

Site Tools


dns:bind_configure_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dns:bind_configure_guide [2023/05/27 13:39] – [Logging] bstafforddns:bind_configure_guide [2025/12/15 12:43] (current) – [Logging] bstafford
Line 9: Line 9:
  
 On Ubuntu 16.04, you need to  On Ubuntu 16.04, you need to 
-<code>sudo apt-get install bind9 bind9utils bind9-doc</code>+<code>sudo apt-get install bind9 bind9utils bind9-doc dnsutils</code> 
 + 
 +=====Troubleshooting ===== 
 +<code>named-checkconf</code> 
 +<code>named-checkzone yourdomain.tld /etc/bind/zones/name-of-file.db</code> 
 +===== Other =====
  
 Then <code>vi /etc/bind/named.conf.options</code> Then <code>vi /etc/bind/named.conf.options</code>
Line 110: Line 115:
 <code>tail -f /var/log/syslog</code> <code>tail -f /var/log/syslog</code>
 Also Also
 +
 +<code>sudo mkdir /var/log/named
 +sudo chown bind:bind /var/log/named
 +sudo chmod ug+w /var/log/named</code>
 +
  
 ''NOTE'' Use ''/var/log/named/'' for logging folder otherwise you will encounter issues with AppArmor ''NOTE'' Use ''/var/log/named/'' for logging folder otherwise you will encounter issues with AppArmor
dns/bind_configure_guide.1685194796.txt.gz · Last modified: by bstafford