allan

DHCPd: dhcpd.conf

Oct 21st, 2018
641
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.01 KB | None | 0 0
  1. # dhcpd.conf
  2. #
  3. # Sample configuration file for ISC dhcpd with
  4. # Dynamic DNS support to Active Directory DNS
  5. #
  6. # Refer to https://pastebin.com/SRPh7Bcu for step-by-step instructions.
  7.  
  8. # option definitions common to all supported networks...
  9. option domain-name "example.org";
  10. option domain-name-servers ns1.example.org, ns2.example.org;
  11.  
  12. default-lease-time 600;
  13. max-lease-time 7200;
  14.  
  15. ddns-update-style interim;
  16.  
  17. # Tell clients not to update DNS
  18. #
  19. deny client-updates;
  20.  
  21. authoritative;
  22.  
  23. # Lab Server Network
  24. #
  25. subnet 192.168.1.0 netmask 255.255.255.0 {
  26. }
  27.  
  28. # Lab Client Networks
  29. #
  30. subnet 192.168.2.0 netmask 255.255.255.0 {
  31.    option subnet-mask 255.255.255.0;
  32.    option routers 192.168.2.1;
  33.    pool {
  34.       range 192.168.2.100 192.168.2.200;
  35.    }
  36. }
  37.  
  38. subnet 192.168.3.0 netmask 255.255.255.0 {
  39.    option subnet-mask 255.255.255.0;
  40.    option routers 192.168.3.1;
  41.    pool {
  42.       range 192.168.3.100 192.168.3.200;
  43.    }
  44. }
  45.  
  46. # see https://pastebin.com/QtZUfL15
  47. include "/etc/dhcp/ddns-hooks.conf";
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment