Advertisement
Guest User

Untitled

a guest
Aug 8th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. include "/etc/bind/named.conf.tsigkeys";
  2.  
  3. acl internals {
  4. 192.168.0.0/16;
  5. 127.0.0.0/8;
  6. 10.0.0.0/24;
  7. };
  8.  
  9. acl servers {
  10. 82.40.81.96;
  11. };
  12.  
  13. options {
  14. masterfile-format text;
  15. listen-on port 53 { any; };
  16. directory "/var/cache/bind";
  17. auth-nxdomain no; # conform to RFC1035
  18. dnssec-validation yes;
  19. querylog yes;
  20. allow-recursion { internals; servers; };
  21. allow-query-cache { internals; servers; };
  22. notify no;
  23. transfer-source 172.104.150.205 port 53;
  24. allow-query { any; };
  25. rate-limit {
  26. responses-per-second 500; // covers non-empty identical queries
  27. referrals-per-second 200;
  28. nxdomains-per-second 300;
  29. nodata-per-second 500;
  30. errors-per-second 200;
  31. all-per-second 2000; // covers all queries from client
  32. }
  33. };
  34.  
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement