Advertisement
thevals

named.conf.options on SRV1

Dec 3rd, 2023
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. acl "trusted" {
  2. 192.168.182.128; # client
  3. 192.168.182.129; # srv1
  4. 192.168.182.130; # srv2
  5. };
  6. options {
  7. directory "/var/cache/bind";
  8.  
  9. recursion yes;
  10. allow-recursion {trusted;};
  11. listen-on {192.168.182.129;};
  12. allow-transfer{none;};
  13. forwarders {
  14. 8.8.8.8;
  15. 8.8.4.4;
  16. };
  17.  
  18. //========================================================================
  19. // If BIND logs error messages about the root key being expired,
  20. // you will need to update your keys. See https://www.isc.org/bind-keys
  21. //========================================================================
  22. dnssec-validation auto;
  23.  
  24. listen-on-v6 { any; };
  25. };
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement