Linux

aaPanel DNS sorunları, çalışan DNS servis named conf dosyası

aaPanelde DNS servis sorunları için çalışan named.conf dosyası örneği

yum install -y nano
nano /etc/named.conf
options {
 listen-on port 53 { any; };
 filter-aaaa-on-v4 yes;

listen-on-v6 port 53 { none; };

directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; recursing-file "/var/named/data/named.recursing"; secroots-file "/var/named/data/named.secroots"; allow-recursion { any; }; allow-query { any; }; recursion yes; dnssec-enable yes; dnssec-validation auto; bindkeys-file "/etc/named.root.key"; managed-keys-directory "/var/named/dynamic"; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key";
systemctl restart named; systemctl status named

NOT: Firewall durdurmak için

systemctl disable firewalld, systemctl stop firewalld