Advertisement
denik-od

Named Options Config

Jul 28th, 2021 (edited)
3,823
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. acl goodclients {
  2.     localhost;
  3.     localnets;
  4. };
  5.  
  6. # AS34661 BREEZE NETWORK
  7. acl breeze {
  8.    # here some network
  9. };
  10. options {
  11.     directory           "/var/named";
  12.     dump-file           "/var/named/data/cache_dump.db";
  13.     pid-file            "/var/run/named/named.pid";
  14.     statistics-file     "/var/named/data/named_stats.txt";
  15.     version             "get lost";
  16.     allow-transfer      { none; };
  17.  
  18.     recursion           yes;
  19.  
  20.     allow-recursion     { goodclients; breeze; };
  21.  
  22.     forwarders {
  23.         1.1.1.1;
  24.         8.8.8.8;
  25.     };
  26.     forward only;
  27.  
  28.     dnssec-enable yes;
  29.     dnssec-validation yes;
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement