Linux System
nano /etc/named.conf کد: include "/etc/rndc.key"; controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; }; acl clients { 192.168.35.0/24; }; options { listen-on port 53 { 127.0.0.1; 192.168.35.1; }; listen-on-v6 port 53 { none; }; directory "/var/named"; allow-query { localhost; clients; none; }; allow-recursion { ...
include "/etc/rndc.key"; controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; }; acl clients { 192.168.35.0/24; }; options { listen-on port 53 { 127.0.0.1; 192.168.35.1; }; listen-on-v6 port 53 { none; }; directory "/var/named"; allow-query { localhost; clients; none; }; allow-recursion {
nano /etc/named.conf کد: controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; }; acl clients { 80.191.222.0/24; 192.168.35.0/24; }; options { listen-on port 53 { 127.0.0.1; 192.168.35.1; 80.191.222.1; }; listen-on-v6 port 53 { none; }; directory "/var/named"; forward only ; forwarders { 8.8.4.4; 4.2.2.5; } ; max-cache-size 2097152 ...
controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; }; acl clients { 80.191.222.0/24; 192.168.35.0/24; }; options { listen-on port 53 { 127.0.0.1; 192.168.35.1; 80.191.222.1; }; listen-on-v6 port 53 { none; }; directory "/var/named"; forward only ; forwarders { 8.8.4.4; 4.2.2.5; } ; max-cache-size 2097152