Уважаемые, подскажите куда :).....
isc-dhcpd и ddns-update
Если делать всё по классике жанра
ddns-update-style interim;
ddns-updates on;
update-conflict-detection false;
update-static-leases on;
authoritative;
subnet 192.168.16.0 netmask 255.255.255.0 {
range 192.168.16.10 192.168.16.125;
option domain-name "adm16.local";
option domain-name-servers 192.168.227.250, 192.168.224.251, 192.168.225.250;
option routers 192.168.16.251;
option broadcast-address 192.168.16.255;
default-lease-time 259200;
max-lease-time 604800;
}
Но есть сервер с несколькими сетями с конфигом вида:
authoritative;
ddns-update-style interim;
ddns-updates on;
update-conflict-detection false;
update-static-leases on;
allow unknown-clients;
deny bootp;
update-optimization on;
shared-network "net26" {
subnet 192.168.26.0 netmask 255.255.255.0 {
server-identifier 192.168.26.253;
range 192.168.26.11 192.168.26.249;
option subnet-mask 255.255.255.0;
option routers 192.168.26.254;
option broadcast-address 192.168.26.255;
default-lease-time 2592000;
max-lease-time 3456000;
option domain-name "adm26.local";
option domain-name-servers 192.168.227.250, 192.168.224.251, 192.168.225.250;
option ip-forwarding off;
}
}
shared-network "net22" {
subnet 192.168.22.0 netmask 255.255.255.0 {
server-identifier 192.168.22.253;
range 192.168.22.11 192.168.22.249;
option subnet-mask 255.255.255.0;
option routers 192.168.22.254;
option broadcast-address 192.168.22.255;
default-lease-time 2592000;
max-lease-time 3456000;
option domain-name "adm22.local";
option domain-name-servers 192.168.227.250, 192.168.224.251, 192.168.225.250;
option ip-forwarding off;
}
}
shared-network "net24" {
subnet 192.168.24.0 netmask 255.255.255.0 {
server-identifier 192.168.24.253;
range 192.168.24.11 192.168.24.249;
option subnet-mask 255.255.255.0;
option routers 192.168.24.254;
option broadcast-address 192.168.24.255;
default-lease-time 2592000;
max-lease-time 3456000;
option domain-name "adm24.local";
option domain-name-servers 192.168.227.250, 192.168.224.251, 192.168.225.250;
option ip-forwarding off;
}
}
shared-network { }
ни когда внутри
shared-network { subnet { } }
dhcpd запустил с флагом -d, в логах ничего :(
кто подскажет как это делается?
isc-dhcpd-4.3.5