>а dynamic updates разрешил ?
Вот конфиг:
acl "ADservers" {
192.168.4.1; 192.168.3.1; 192.168.2.1;
};
#acl "localnets" {
# 192.168.2.0/24; 192.168.3.0/24; 192.168.4.0/24; 192.168.5.0/24;
# };
#acl "localhost" { 127.0.0.1; };
acl "terminal" {
192.168.2.2; 192.168.3.2; 192.168.5.2;
};
acl "firewall" { 192.168.4.2; };
#key "rndc-key" {
# algorithm hmac-md5;
# secret "qyf+X17nCl5s0FZDI2cVQw==";
#};
options {
directory "C:/WINNT/system32/dns/";
forwarders { 192.168.4.2; };
version "GoAway(TM) v 0.91";
allow-query { any; };
allow-recursion { any; };
query-source port 53;
dump-file "dump/named_dump.db";
notify explicit;
also-notify {192.168.2.2;192.168.3.2;};
recursion yes;
cleaning-interval 60;
interface-interval 0;
# coresize 1M;
# datasize 32M;
# files 100;
# stacksize 16M;
max-cache-size 16M;
recursive-clients 500;
allow-transfer {terminal;};
};
logging {
channel prime {
file "log/named.log" versions 3 size 20M;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
category default { prime; };
};
#controls {
# inet 127.0.0.1 port 953 allow { localhost; } keys { "rndc_key"; };
#};
zone "." {
type hint;
file "etc/named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "reverse/0_0_127.txt";
};
#zone "5.168.192.in-addr.arpa" {
# type master;
# type slave;
# file "reverse/5_168_192.txt";
# allow-update {};
# masters {;};
# };
zone "4.168.192.in-addr.arpa" {
type master;
# type slave;
file "reverse/4_168_192.txt";
allow-update {any;};
# masters {192.168.2.1;};
};
zone "2.168.192.in-addr.arpa" {
type master;
# type slave;
file "reverse/2_168_192.txt";
allow-update {any;};
# masters {192.168.2.1;};
};
zone "3.168.192.in-addr.arpa" {
type master;
# type slave;
file "reverse/3_168_192.txt";
allow-update {any;};
# masters {192.168.2.1;};
};
zone "local.teplotex.ru" {
type master;
# type slave;
file "primary/local_teplotex_ru.txt";
allow-update {any;};
# masters {192.168.2.1;};
};
zone "_msdcs.local.teplotex.ru" {
type master;
# type slave;
# masters {192.168.2.1;};
file "primary/_msdcs_local_teplotex_ru.txt";
allow-update {any;};
};
zone "_sites.local.teplotex.ru" {
type master;
# type slave;
# masters {192.168.2.1;};
file "primary/_sites_local_teplotex_ru.txt";
allow-update {any;};
};
zone "_tcp.local.teplotex.ru" {
type master;
# type slave;
# masters {192.168.2.1;};
file "primary/_tcp_local_teplotex_ru.txt";
allow-update {any;};
};
zone "_udp.local.teplotex.ru" {
type master;
# type slave;
# masters {192.168.2.1;};
file "primary/_udp_local_teplotex_ru.txt";
allow-update {any;};
};
Вот зона:
$ORIGIN .
$TTL 86400 ; 1 day
_msdcs.local.teplotex.ru IN SOA server.local.teplotex.ru. hostmaster.local.teplotex.ru. (
10 ; Todays serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
2419200 ; expire (4 weeks)
86400 ; minimum (1 day)
)
NS server.local.teplotex.ru.
$ORIGIN _msdcs.local.teplotex.ru.
Зона нифига не апдейтится. :( Хотя должна...