Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. #
  2. # Sample configuration file for ISC dhcpd for Debian
  3. #
  4. #
  5. # The ddns-updates-style parameter controls whether or not the server will
  6. # attempt to do a DNS update when a lease is confirmed. We default to the
  7. # behavior of the version 2 packages ('none', since DHCP v2 didn't
  8. # have support for DDNS.)
  9. #ddns-update-style none;
  10.  
  11. #ddns-updates on;
  12. ddns-update-style interim;
  13. #ignore client-updates;
  14. #update-static-leases on;
  15.  
  16. default-lease-time 600;
  17. max-lease-time 7200;
  18. # If this DHCP server is the official DHCP server for the local
  19. # network, the authoritative directive should be uncommented.
  20. authoritative;
  21. # Use this to send dhcp log messages to a different log file (you also
  22. # have to hack syslog.conf to complete the redirection).
  23. log-facility local7;
  24. # A slightly different configuration for an internal subnet.
  25.  
  26. option domain-name "eusms.minden";
  27. option domain-name-servers 192.168.1.11, 217.0.43.1, 217.0.43.193;
  28. option all-subnets-local true;
  29. option subnet-mask 255.255.255.0;
  30. option routers 192.168.1.1;
  31. server-name "hybrid.eusms.minden";
  32.  
  33. option domain-name-servers 192.168.1.11, 217.0.43.1, 217.0.43.193;
  34. option routers 192.168.1.1;
  35.  
  36. subnet 192.168.1.0 netmask 255.255.255.0 {
  37. option routers 192.168.1.1;
  38. range 192.168.1.100 192.168.1.200;
  39.  
  40. ddns-domainname "eusms.minden";
  41. ddns-rev-domainname "1.168.192.in-addr.arpa";
  42.  
  43. option broadcast-address 192.168.1.255;
  44. option subnet-mask 255.255.255.0;
  45. option domain-name-servers 192.168.1.11, 217.0.43.1, 217.0.43.193;
  46.  
  47. allow unknown-clients;
  48. authoritative;
  49. }
  50.  
  51. host hybrid {
  52. hardware ethernet 00:21:70:0d:95:ea;
  53. fixed-address 192.168.1.11;
  54. option host-name "hybrid";
  55. }
  56.  
  57. include "/etc/dhcp/ddns.key";
  58.  
  59. zone eusms.minden. {
  60. primary 192.168.1.11;
  61. key DDNS_UPDATE;
  62. }
  63.  
  64. zone 1.168.192.in-addr.arpa. {
  65. primary 192.168.1.11;
  66. key DDNS_UPDATE;
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement