Hankrill

named.conf

Apr 10th, 2023
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.80 KB | None | 0 0
  1. named.conf
  2. GNU nano 5.4                                      /etc/bind/named.conf                                                // structure of BIND configuration files in Debian, *BEFORE* you customize
  3. //
  4. // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
  5. // structure of BIND configuration files in Debian, *BEFORE* you customize
  6. // this configuration file.
  7. //
  8. // If you are just adding zones, please do that in /etc/bind/named.conf.local
  9.  
  10. include "/etc/bind/named.conf.options";
  11. include "/etc/bind/named.conf.local";
  12. include "/etc/bind/named.conf.default-zones";
  13. include "/var/lib/samba/bind-dns/named.conf";
  14.  
  15. named.conf.options
  16. GNU nano 5.4                                  /etc/bind/named.conf.options                                            options {
  17.         directory "/var/cache/bind";
  18.         tkey-gssapi-keytab "/var/lib/samba/bind-dns/dns.keytab";
  19.         // If there is a firewall between you and nameservers you want
  20.         // to talk to, you may need to fix the firewall to allow multiple
  21.         // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
  22.  
  23.         // If your ISP provided one or more IP addresses for stable
  24.         // nameservers, you probably want to use them as forwarders.
  25.         // Uncomment the following block, and insert the addresses replacing
  26.         // the all-0's placeholder.
  27.  
  28.        forwarders {
  29.                8.8.8.8;
  30.        };
  31.  
  32.        //========================================================================
  33.        // If BIND logs error messages about the root key being expired,
  34.        // you will need to update your keys.  See https://www.isc.org/bind-keys
  35.        //========================================================================
  36.        dnssec-validation auto;
  37.  
  38.        listen-on-v6 { any; };
  39. };
  40.  
  41.  
  42.  
Advertisement
Add Comment
Please, Sign In to add comment