ddns-updates on; ddns-update-style interim; include "/etc/bind/rndc.key"; ddns-domainname "samdom.example.com."; update-static-leases on; option domain-name "samdom.example.com"; option domain-search "samdom.example.com"; option domain-name-servers 10.0.2.102; option dhcp-server-identifier 10.0.2.102; #Следующая строка нужна, если используется Samba с WINS option netbios-name-servers 10.0.2.102; default-lease-time 129600; max-lease-time 1296000; authoritative; server-name "ipa.samdom.example.com"; server-identifier 10.0.2.102; #This subnet should match the subnet of your LAN facing ethernet device#Эта подсеть должна соответствовать подсети вашей локальной сети, обращенной к устройству ethernet. Subnet 10.0.2.0 netmask 255.255.255.0 { option broadcast-address 10.0.2.255; option subnet-mask 255.255.255.0; option routers 10.0.2.1; pool { range 10.0.2.10 10.0.2.100; allow known-clients; allow unknown-clients; max-lease-time 86400; default-lease-time 43200; } zone samdom.example.com. { primary 127.0.0.1; key "rndc-key"; } zone 2.0.10.in-addr.arpa. { primary 127.0.0.1; key "rndc-key"; } } |