Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dhcpd.conf
- #
- # Sample configuration file for ISC dhcpd with
- # Dynamic DNS support to Active Directory DNS
- #
- # Refer to https://pastebin.com/SRPh7Bcu for step-by-step instructions.
- # option definitions common to all supported networks...
- option domain-name "example.org";
- option domain-name-servers ns1.example.org, ns2.example.org;
- default-lease-time 600;
- max-lease-time 7200;
- ddns-update-style interim;
- # Tell clients not to update DNS
- #
- deny client-updates;
- authoritative;
- # Lab Server Network
- #
- subnet 192.168.1.0 netmask 255.255.255.0 {
- }
- # Lab Client Networks
- #
- subnet 192.168.2.0 netmask 255.255.255.0 {
- option subnet-mask 255.255.255.0;
- option routers 192.168.2.1;
- pool {
- range 192.168.2.100 192.168.2.200;
- }
- }
- subnet 192.168.3.0 netmask 255.255.255.0 {
- option subnet-mask 255.255.255.0;
- option routers 192.168.3.1;
- pool {
- range 192.168.3.100 192.168.3.200;
- }
- }
- # see https://pastebin.com/QtZUfL15
- include "/etc/dhcp/ddns-hooks.conf";
Advertisement