| 1234567891011121314151617181920212223242526272829303132333435 |
- # /etc/named.conf (primary/secondary)
- #
- # For this exercise, primary and secondary name.conf files are identical but
- # have separate names in the project directory to avoid confusion when
- # configuring playblooks.
- #
- # Template file for BIND labs.
- options {
- listen-on port 53 { any; };
- directory "/var/named";
- allow-transfer { 192.168.0.12; };
- allow-query { localhost; 172.25.250.254; 192.168.0.0/24; };
- recursion no;
- #Added the following
- pid-file "/run/named/named.pid";
- session-keyfile "/run/named/session.key";
- /* https://fedoraproject.org/wiki/Changes/CryptoPolicy */
- include "/etc/crypto-policies/back-ends/bind.config";
- };
- #Added the following
- logging {
- channel default_debug {
- file "data/named.run";
- severity dynamic;
- };
- };
- include "/etc/named.rfc1912.zones";
- include "/etc/named.root.key";
- include "/etc/named.backend.conf";
|