У тебя примерно вот так должно все быть:
acl local-lan { 10.10.0.0/16; };
options {
listen-on port 53 { 10.10.0.200; 111.222.333.444(внешний ip); 127.0.0.1; };
listen-on-v6 port 53 { none; };
directory "/var/named";
version "DNS Server";
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";
allow-query {any; };
allow-recursion { local-lan; 127.0.0.1; };
allow-query-cache { local-lan; 127.0.0.1; };
allow-transfer { localhost; };
forwarders { 8.8.8.8; 8.8.4.4; };
dnssec-enable no;
dnssec-validation no;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel "xfer" {
file "/var/log/named/xfer.log" versions 3 size 10m;
print-time yes;
print-severity yes;
severity info;
};
channel "lame" {
file "/var/log/named/lamers.log" versions 3 size 10m;
print-time yes;
print-severity yes;
severity info;
};
channel "config" {
file "/var/log/named/conf.log" versions 3 size 10m;
print-time yes;
print-severity yes;
severity info;
};
channel "security" {
file "/var/log/named/security.log" versions 3 size 10m;
print-time yes;
print-severity yes;
severity info;
};
//Sobytija, svjazannye s polucheniem zon
category "xfer-in" {"xfer";};
//Sobytija, svjazannye s peredachej zon
category "xfer-out" {"xfer";};
//Sobytija, svjazannye s izmeneniem v zonah
category "notify" {"xfer";};
//Sobytija, svjazannye s nekorektnym delegirovaniem
category "lame-servers" {"lame";};
//Sobytija, svjazannye s obrabotkoj fajla konfiguracii
category "config" {"config";};
//Sobytija, svjazannye s zapreshheniem/razresheniem zaprosov
category "security" {"security";};
//Esli dlja sobytija kanal ne opredeljon
category "default" {"default_syslog";"default_debug";};
};
//include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/etc/named/my_zones";
В /etc/sysctl.conf добавить строчки для отключения IPv6:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1В /etc/sysconfig/network-scripts/ifcfg-eth0 :
BOOTPROTO=static