secondary-named.conf 958 B

1234567891011121314151617181920212223242526272829303132333435
  1. # /etc/named.conf (primary/secondary)
  2. #
  3. # For this exercise, primary and secondary name.conf files are identical but
  4. # have separate names in the project directory to avoid confusion when
  5. # configuring playblooks.
  6. #
  7. # Template file for BIND labs.
  8. options {
  9. listen-on port 53 { any; };
  10. directory "/var/named";
  11. allow-transfer { 192.168.0.12; };
  12. allow-query { localhost; 172.25.250.254; 192.168.0.0/24; };
  13. recursion no;
  14. #Added the following
  15. pid-file "/run/named/named.pid";
  16. session-keyfile "/run/named/session.key";
  17. /* https://fedoraproject.org/wiki/Changes/CryptoPolicy */
  18. include "/etc/crypto-policies/back-ends/bind.config";
  19. };
  20. #Added the following
  21. logging {
  22. channel default_debug {
  23. file "data/named.run";
  24. severity dynamic;
  25. };
  26. };
  27. include "/etc/named.rfc1912.zones";
  28. include "/etc/named.root.key";
  29. include "/etc/named.backend.conf";