Здравствуйте. На сервере (192.168.0.1, linux) всё в норме,- при запросе
[bsm@maestro ~]$ nslookup ya.ru
Server: 10.10.0.30
Address: 10.10.0.30#53
Non-authoritative answer:
Name: ya.ru
Address: 213.180.193.3
Name: ya.ru
Address: 213.180.204.3
Name: ya.ru
Address: 77.88.21.3
Name: ya.ru
Address: 87.250.250.3
Name: ya.ru
Address: 87.250.250.203
Name: ya.ru
Address: 87.250.251.3
Name: ya.ru
Address: 93.158.134.3
Name: ya.ru
Address: 93.158.134.203
..
C:\Documents and Settings\Loner>nslookup ya.ru
*** Can't find server name for address 192.168.0.1: Query refused
*** Default servers are not available
Server: UnKnown
Address: 192.168.0.1
*** UnKnown can't find ya.ru: Query refused
C:\Documents and Settings\Loner>
Что у меня в настройках DNS. В resolv.conf указано-
domain orizon-navigation.com
nameserver 10.10.0.30 ; DNS Server провайдера
nameserver 195.66.65.1 ; ns1 провайдера
nameserver 91.197.128.61 ; www.mydomain.com на иной площадке
acl lan { # группа "доверенных" хостов
localhost;
192.168.0/24;
};
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
# dump-file "/var/named/data/cache_dump.db";
# memstatistics-file "/var/named/data/named_mem_stats.txt";
# statistics-file "/var/named/data/named_stats.txt";
dump-file "data/cache_dump.db";
memstatistics-file "data/named_mem_stats.txt";
statistics-file "data/named_stats.txt";
notify yes;
#
forwarders { 10.10.0.30; }; # DNS провайдера
forward first;
#***
listen-on { localhost; };
listen-on port 53 { localhost; 192.168.0.1; };
listen-on-v6 port 53 { ::1; };
query-source port 53;
query-source-v6 port 53;
allow-query { lan; };
allow-recursion { lan; };
allow-transfer { none; };
blackhole { 192.168.100/24; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
//******************************************************************************
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
#
# Основная зона нашего домена
#
zone "mydomain.com" IN {
type master;
file "primary/mydomain.com";
allow-transfer {
194.93.163.163; # ns3.dimedia-ua.com
212.9.241.134; # ns4.dimedia-ua.com
};
};
#
# Обратная зона для почтового сервера.
#
zone "65.66.195.in-addr.arpa" IN {
type master;
file "primary/195.66.65.65";
allow-update { none; };
};