Есть сеть 192.168.126.0/255.255.254.0 Здесь я пытаюсь зазделить адреса на статические и динамические. т.е. в подсети 192.168.126.0/24 забивию работников, устройства и т.д., а в 192.168.127.100-254 должны попадать все временные устройства Dhcpd.conf
option time-servers 192.168.126.6;
option slp-service-scope false "SCOPE_A";
option slp-directory-agent false 192.168.126.4;
option broadcast-address 192.168.127.255;
option subnet-mask 255.255.254.0;
option domain-name "findepvidnoe.ru";
option domain-name-servers 192.168.126.6, 192.168.126.5, 192.168.126.19;
option routers 192.168.126.5;
option ntp-servers 192.168.126.6;
option netbios-name-servers 192.168.126.7;
authoritative;
use-host-decl-names on;
do-forward-updates true;
update-static-leases on;
allow client-updates;
ddns-updates on;
ddns-update-style interim;
ddns-ttl 14400;
ddns-domainname "findepvidnoe.ru";
ddns-rev-domainname "in-addr.arpa";
log-facility local7;
key "rndc-key" {
algorithm hmac-md5;
secret "2UZgkOyANF0eC4m0cYqzLQ==";
}
zone findepvidnoe.ru. {
primary server6.findepvidnoe.ru;
key rndc-key;
}
zone 126.168.192.in-addr.arpa. {
primary server6.findepvidnoe.ru;
key rndc-key;
}
zone 127.168.192.in-addr.arpa. {
primary 192.168.126.6;
key rndc-key;
}
shared-network findepvidnoe.ru {
# Main
subnet 192.168.126.0 netmask 255.255.255.0 {
}
# inet
subnet 192.168.127.0 netmask 255.255.255.0 {
authoritative;
allow client-updates;
allow unknown-clients;
ddns-updates on;
range 192.168.127.100 192.168.127.254;
}
}
key "rndc-key" {
algorithm hmac-md5;
secret "2UZgkOyANF0eC4m0cYqzLQ==";
};
acl client {
192.168.126.0/23;
192.168.126.5;
127.0.0.1;
};
acl slave {
192.168.126.5;
};
options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
listen-on port 53 {
192.168.126.6;
127.0.0.1;
};
allow-query { client; };
include "/etc/named.d/forwarders.conf";
allow-transfer { slave; };
notify yes;
};
logging {
channel default_ch {
file "/var/log/named-base.log";
print-category yes;
print-time yes;
};
channel security_ch {
file "/var/log/named-security.log";
print-category yes;
print-time yes;
};
category default {
default_ch;
};
category security {
security_ch;
};
};
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; 192.168.126.5; } keys { "rndc-key"; };
};
zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
allow-transfer { 127.0.0.1; };
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
allow-transfer { 127.0.0.1; };
};
include "/etc/named.conf.include";
zone "findepvidnoe.ru" in {
type master;
file "/var/lib/named/master/findepvidnoe.ru.hosts";
notify yes;
allow-update { key rndc-key; };
allow-transfer { slave; };
allow-query { any; };
};
zone "126.168.192.in-addr.arpa" {
type master;
file "/var/lib/named/master/192.168.126.0.rev";
allow-update { key rndc-key; };
allow-transfer { slave; };
allow-query { any; };
notify yes;
};
zone "127.168.192.in-addr.arpa" {
type master;
file "/var/lib/named/master/192.168.127.0.rev";
allow-update { key rndc-key; };
allow-transfer { slave; };
allow-query { any; };
notify yes;
};
# ls -l
total 28
-rw-rw-r-- 1 named named 809 Aug 23 10:49 192.168.126.0.rev
-rw-rw-r-- 1 named named 1707 Aug 23 10:46 192.168.126.0.rev.jnl
-rw-rw-r-- 1 named named 0 Aug 23 10:54 192.168.127.0.rev
-rw-rw-r-- 1 named named 1368 Aug 22 09:10 _msdcs.findepvidnoe.ru
-rw-rw-r-- 1 named named 2583 Aug 23 10:55 findepvidnoe.ru.hosts
-rw-rw-r-- 1 named named 863 Aug 23 10:55 findepvidnoe.ru.hosts.jnl
Aug 23 15:05:41 server6 dhcpd: DHCPREQUEST for 192.168.127.202 from 00:ee:bd:44:18:e5 via eth0
Aug 23 15:05:41 server6 dhcpd: DHCPACK on 192.168.127.202 to 00:ee:bd:44:18:e5 (android-c09325f52f114193) via eth0
Aug 23 15:05:41 server6 dhcpd: Added new forward map from android-c09325f52f114193.findepvidnoe.ru to 192.168.127.202
Aug 23 15:05:41 server6 dhcpd: Unable to add reverse map from 202.127.168.192.in-addr.arpa to android-c09325f52f114193.findepvidnoe.ru: SERVFAIL
Подскажите, плиз Где я накосячил? и как подправить. ЗЫ. с подсутью 192.168.126 проблем нет. нормально отрабатываются и прямая и обратная зоны.