controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { rndckey; };
};
key "rndckey" {
algorithm "hmac-md5";
secret "8HMQMhvo9TJsIOnSbLdY=";
};
acl "corpnets" {
localhost;
localnets;
192.168/16;
3.1.1/24;
};
acl bogusnets {
0.0.0.0/8;
169.254.0.0/16;
192.0.2.0/24;
224.0.0.0/3;
};
options {
directory "/conf";
pid-file "/var/run/named.pid";
statistics-file "/var/run/named.stats";
dump-file "/var/run/named.db";
# hide our "real" version number
version "[secured]";
allow-query { corpnets; };
blackhole { bogusnets; };
#; forwarders {
#; 212.44.130.6;
#; 195.68.135.5;
#; };
#; forward first;
listen-on {
127.0.0.1;
192.168.21.254;
3.1.1.165;
};
allow-recursion { corpnets; };
};
logging {
channel s_log {
file "/logs/strs.log";
severity info;
};
category default {
s_log;
};
};
view "local" {
match-clients { 127.0.0.1;
};
# The root nameservers
zone "." {
type hint;
file "db.rootcache";
};
# localhost - forward zone
zone "localhost" {
type master;
file "db.localhost";
notify no;
};
# localhost - inverse zone
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0";
notify no;
};
};
view "internal" {
match-clients { 192.168.0.0/16;
};
# recursion no;
# internal + external nets - forward zone
zone "s.ru" {
type master;
file "internal/db.s.ru";
notify no;
};
# internal - inverse zone
zone "168.192.in-addr.arpa" {
type master;
file "db.168.192.in-addr.arpa";
notify no;
};
# external - invers zone
zone "1.1.3.in-addr.arpa" {
type master;
file "db.1.1.3.in-addr.arpa";
notify no;
};
};
view "external" {
match-clients { any; };
# recursion no;
# The root nameservers
# zone "." {
# type hint;
# file "db.rootcache";
# };
# localhost - forward zone
# zone "localhost" {
# type master;
# file "db.localhost";
# notify no;
# };
# localhost - inverse zone
# zone "0.0.127.in-addr.arpa" {
# type master;
# file "db.127.0.0";
# notify no;
# };
zone "s.ru" {
type master;
file "external/db.s.ru";
notify no;
};
zone "1.1.213.in-addr.arpa" {
type master;
file "db.1.1.3.in-addr.arpa";
notify no;
};
};
Если добавляю recursion no получаю ниже описанное
C:\Documents and Settings\root>nslookup www.web.de
Server: ns.strs.ru
Address: 192.168.21.254
Name: www.web.de
Served by:
- C.ROOT-SERVERS.NET
- D.ROOT-SERVERS.NET
- E.ROOT-SERVERS.NET
- F.ROOT-SERVERS.NET
- G.ROOT-SERVERS.NET
- H.ROOT-SERVERS.NET
- I.ROOT-SERVERS.NET
- J.ROOT-SERVERS.NET
- K.ROOT-SERVERS.NET
- L.ROOT-SERVERS.NET