>покажите части конфига named и dhcp касающиеся ddns
==================================================
/etc/dhcp.conf:ddns-updates on;
ddns-update-style interim;
include "/etc/rndc.key";
zone torion.ru. {
primary 10.0.0.1;
key rndckey;
}
zone 10.in-addr.arpa. {
primary 10.0.0.1;
key rndckey;
}
option domain-name "domain.ru";
option domain-name-servers 10.0.0.1;
option routers 10.0.0.10;
option netbios-name-servers 10.0.0.5;
option netbios-scope "";
# Domain Local Net
subnet 10.0.0.0 netmask 255.255.0.0 {
###-вырезано-###
}
==================================================
/var/named/chroot/etc/named.conf:
include "/etc/rndc.key";
acl localip {
10.0.0.0/16;
127.0.0.1;
};
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders {
195.34.32.116;
212.188.4.10;
};
forward first;
listen-on {
localip;
};
allow-transfer {
none;
};
allow-query {
localip;
};
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
// Прямая и обратные зоны для домена domain.ru
zone "domain.ru" {
type master;
file "slaves/domain.ru.zone";
allow-update { key rndckey; };
};
zone "0.10.in-addr.arpa" {
type master;
file "slaves/domain.ru.reversed";
allow-update { key rndckey; };
};
==================================================
/var/named/chroot/etc/rndc.key:
key "rndckey" {
algorithm hmac-md5;
secret "tFmdVkIAMuoGstQ9Yt7ZdQ==";
};
==================================================
В /etc находится линк rndc.key на /var/named/chroot/etc/rndc.key