Advertisement
kosmik2001

dhcpd.conf

Jan 27th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. option domain-name "satt.local";
  2. option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
  3. option ms-classless-static-routes code 249 = array of unsigned integer 8;
  4. option ntp-servers satt.local;
  5. default-lease-time 600;
  6. max-lease-time 7200;
  7.  
  8. log-facility local7;
  9. authoritative;
  10. ddns-updates on;
  11. ddns-update-style interim;
  12. use-host-decl-names on;
  13. allow client-updates;
  14.  
  15. ddns-domainname "satt.local";
  16. ddns-rev-domainname "in-addr.arpa";
  17.  
  18. if exists agent.circuit-id
  19. {
  20. log ( info, concat(
  21. "SW-ID: ", suffix(option agent.circuit-id, 5),
  22. ", Port: ", binary-to-ascii (10, 8, "", substring( option agent.circuit-id, 1, 1)))
  23. );
  24. }
  25.  
  26. key DHCP_UPDATER {
  27. algorithm hmac-md5;
  28. secret "rdJuK9q33GvCORLY7Xm4Sw==";
  29. };
  30.  
  31. zone satt.local. {
  32. primary 127.0.0.1;
  33. key DHCP_UPDATER;
  34. }
  35.  
  36. zone 11.168.192.in-addr.arpa. {
  37. primary 127.0.0.1;
  38. key DHCP_UPDATER;
  39. }
  40.  
  41. subnet 192.168.11.0 netmask 255.255.255.0 {
  42. option routers 192.168.11.1;
  43. option subnet-mask 255.255.255.0;
  44. option domain-name-servers 192.168.11.1;
  45. option broadcast-address 192.168.11.255;
  46. range 192.168.11.2 192.168.11.254;
  47. option domain-name "satt.local";
  48.  
  49. log-facility local7;
  50. authoritative;
  51. ddns-updates on;
  52. ddns-update-style interim;
  53. use-host-decl-names on;
  54. allow client-updates;
  55. ddns-domainname "satt.local";
  56. ddns-rev-domainname "in-addr.arpa";
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement