rosalin Цитата: немогу никак отстроить resolver
что именно не получается?
Добавлено: rosalin Цитата: но при
Указатели корневых серверов:
zone "." {
type hint;
file "c:/windows/system32/dns/master/named.root"; };
не работает не запускаеться
попробуй так
zone "." {
type hint;
file "master/named.root"; };
Добавлено: на тебе мой конфиг, в качестве работающего примера, разбирайся
[more]
key "rndc-key" {
algorithm hmac-md5;
secret "А вот не покажу";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
acl "corpnets" { 192.168.0.0/16; 127.0.0.1;};
options {
directory "/etc/";
/*
директория "/etc/" находится на c:\etc\ и все пути указываются относительно еЁ
*/
pid-file "var/run/named.pid";
query-source address * port 53;
allow-query { "corpnets"; };
allow-transfer { "corpnets"; };
allow-recursion {"corpnets"; };
transfer-format one-answer;
zone-statistics yes;
forwarders { "Адрес сервера DNS, смотрящего наружу"; };
};
logging {
channel default {
file "var/log/named.log" versions 10 size 20m;
severity debug 2;
print-time yes;
print-category yes;
};
channel database {
file "var/log/database.log" versions 10 size 20m;
severity info;
print-time yes;
print-category yes;
};
channel security {
file "var/log/security.log" versions 10 size 20m;
severity info;
print-time yes;
print-category yes;
};
channel resolver {
file "var/log/resolver.log" versions 10 size 20m;
severity debug 3;
print-time yes;
print-category yes;
};
channel xfer-in {
file "var/log/xfer-in.log" versions 10 size 20m;
severity debug 1;
print-time yes;
print-category yes;
};
channel xfer-out {
file "var/log/xfer-out.log" versions 10 size 20m;
severity debug 1;
print-time yes;
print-category yes;
};
channel notify {
file "var/log/notify.log" versions 10 size 20m;
severity debug 6;
print-time yes;
print-category yes;
};
channel client {
file "var/log/client.log" versions 10 size 20m;
severity debug 1;
print-time yes;
print-category yes;
};
channel update {
file "var/log/update.log" versions 10 size 20m;
severity debug 6;
print-time yes;
print-category yes;
};
channel queries {
file "var/log/queries.log" versions 10 size 20m;
severity debug 6;
print-time yes;
print-category yes;
};
channel dispatch {
file "var/log/dispatch.log" versions 10 size 20m;
severity debug 6;
print-time yes;
print-category yes;
};
channel dnssec {
file "var/log/dnssec.log" versions 10 size 20m;
severity debug 6;
print-time yes;
print-category yes;
};
channel lame-servers {
file "var/log/lame-servers.log" versions 10 size 20m;
severity debug 6;
print-time yes;
print-category yes;
};
category default { default; };
category general { default; };
category unmatched { default; };
category network { default; };
category config { default; };
category database { database; };
category security { security; };
category resolver { resolver; };
category xfer-in { xfer-in; };
category xfer-out { xfer-out; };
category notify { notify; };
category client { client; };
category update { update; };
category queries { queries; };
category dispatch { dispatch; };
category dnssec { dnssec; };
category lame-servers { lame-servers; };
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
notify no;
};
################################################################################################################
zone "local" {
type master;
file "master/local.dns";
check-names ignore;
allow-query { corpnets; };
allow-transfer{ corpnets; };
};
[/more]