From anon, 4 Weeks ago, written in Plain Text.
This paste will explode in 1 Second.
Embed
  1. # dhcpd.conf
  2. #
  3. # Sample configuration file for ISC dhcpd
  4. #
  5.  
  6. # option definitions common to all supported networks...
  7. allow client-updates;
  8. include "/etc/rndc.key";
  9. ddns-updates on;
  10. option domain-name "vbkh.local";
  11. option domain-name-servers 192.168.1.1;
  12. ddns-rev-domainname "in-addr.arpa";
  13. ignore client-updates;
  14. allow unknown-clients;
  15. ddns-update-style interim;
  16. ddns-rev-domainname "in-addr.arpa.";
  17. ddns-domainname "vbkh.local";
  18. update-static-leases-on;
  19.  
  20. zone 1.168.192.in-addr.arpa {
  21.         primary 192.168.1.1;
  22.         key rndc-key;
  23. }
  24.  
  25. zone vbkh.local {
  26.         primary 192.168.1.1;
  27.         key rndc-key;
  28. }
  29.  
  30. default-lease-time 600;
  31. max-lease-time 7200;
  32.  
  33. # Use this to enble / disable dynamic dns updates globally.
  34. #ddns-update-style none;
  35.  
  36. # If this DHCP server is the official DHCP server for the local
  37. # network, the authoritative directive should be uncommented.
  38. authoritative;
  39.  
  40. # Use this to send dhcp log messages to a different log file (you also
  41. # have to hack syslog.conf to complete the redirection).
  42. log-facility local7;
  43.  
  44. # No service will be given on this subnet, but declaring it helps the
  45. # DHCP server to understand the network topology.
  46.  
  47. host debian {
  48.         hardware ethernet 00:0c:29:c7:06:cb;
  49. }
  50.  
  51. host osx {
  52.         hardware ethernet 00:0c:29:32:03:4c;
  53. }
  54.  
  55. host freebsd {
  56.         hardware ethernet 00:0c:29:28:f7:b8;
  57. }
  58.  
  59. subnet 192.168.1.0 netmask 255.255.255.0 {
  60.         option routers          192.168.1.1;
  61.         option subnet-mask      255.255.255.0;
  62.         option domain-search    "vbkh.local";
  63.         option domain-name-servers      192.168.1.1;
  64.        
  65.         pool {
  66.                 range 192.168.1.2       192.168.1.4;
  67.                 allow known-clients;
  68.                 deny unknown-clients;  
  69.         }
  70. }
  71.