Добрый день,
помогите разобратся с проблемой:
имеется ОС FreeBSD 5.4
BIND 9.3.1
ISC DHCP V3.0.1rc14
нужно настроить DHCP и DNS чтобы записи динамически обновлялись.
после настройки оказалось что динамически обновляется только обратная зона.
Подскажите в где грабли!
конфиги прилагаю:
-----named.conf------
options {
auth-nxdomain yes;
datasize default;
stacksize default;
coresize default;
recursion yes;
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on { 10.190.35.3; };
forwarders {
10.190.35.1;
};
};
logging {
channel update_debug {
file "/var/log/named-update.log";
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};
channel security_info {
file "/var/log/named-auth.log";
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
category update { update_debug; };
category security { security_info; };
};
zone "localhost" in {
type master;
file "master/localhost.zone";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "master/localhost.rev";
};
zone "." {
type hint;
file "named.root";
};
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret 0X1KJM2UWuy4UKUVUtOYaQ==;
};
zone "zve.my.domain" IN {
type master;
file "dynamic/zve.zone";
allow-update { key DHCP_UPDATER; };
};
zone "35.190.10.IN-ADDR.ARPA" IN {
type master;
file "dynamic/35.zve.rev";
allow-update { key DHCP_UPDATER; };
};
-----named.conf------
-----dhcpd.conf------
ddns-update-style interim;
authoritative;
ddns-domainname "zve.my.domain";
update-static-leases true;
log-facility local7;
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret 0X1KJM2UWuy4UKUVUtOYaQ==;
}
zone zve.soparind.bongrain. {
primary 10.190.35.3;
key DHCP_UPDATER;
}
zone 35.190.10.IN-ADDR.ARPA. {
primary 10.190.35.3;
key DHCP_UPDATER;
}
default-lease-time 86400;
max-lease-time 25992000;
subnet 10.190.35.0 netmask 255.255.255.0 {
range 10.190.35.190 10.190.35.200;
option routers 10.190.35.128;
option domain-name-servers 10.190.35.3;
option domain-name "zve.my.domain.";
}
-----dhcpd.conf------
-----zve.zone--------
$ORIGIN .
$TTL 3600
zve.my.domain. IN SOA ns.zve.my.domain. root.zve.my.domain. (
5 ; Serial
10800 ; Refresh
3600 ; Retry
345600 ; Expire
86400) ; Minimum TTL
NS ns.zve.my.domain.
A 10.190.35.3
-----zve.zone--------
-----35.zve.rev------
$ORIGIN .
$TTL 3600 ; 1 hour
35.190.10.IN-ADDR.ARPA IN SOA ns.zve.my.domain. root.zve.my.domain. (
2006020102 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
3600 ; minimum (1 hour)
)
NS ns.zve.my.domain.
-----35.zve.rev------