code.fastix.org

Dateiansicht:

Datei:Projekte -> Linux:Netzwerk für Seminare -> Router_Server -> etc -> dhcp -> dhcpd.conf
md5:94c0a973b1d0350ee934903ea98b2a0b
sha1:82bd9a2b10e4034406cb7f0ce7b41412f59d37b5
  1. # dhcpd.conf
  2.  
  3. #interface enp0s25;
  4. authoritative;
  5.  
  6. default-lease-time 3600;
  7. max-lease-time 7200;
  8. option local-pac-server code 252 = text;
  9. option local-pac-server "http://10.11.12.1/proxy.pac";
  10.  
  11. ddns-update-style interim;
  12. update-static-leases off;
  13.  
  14. ddns-domainname "seminarnet";
  15.  
  16.  
  17. subnet 10.11.12.0 netmask 255.255.255.0 {
  18.     range 10.11.12.100 10.11.12.250;
  19.     option broadcast-address 10.11.12.255;
  20.     option routers 10.11.12.1;
  21.     option domain-name "seminarnet";
  22.     option domain-search "seminarnet", "home", "box";
  23.     option domain-name-servers 10.11.12.1;
  24. }
  25.  
  26.  
  27. key DHCP_UPDATER {
  28.         algorithm HMAC-MD5.SIG-ALG.REG.INT;
  29.         secret    "PBSowMT+Y5UtqK0Pl/Wx9Q==";
  30. };
  31.  
  32. zone seminarnet. {
  33.         primary 10.11.12.1;
  34.         key DHCP_UPDATER;
  35. }
  36.  
  37. zone 12.11.10.in-addr.arpa. {
  38.         primary 10.11.12.1;
  39.         key DHCP_UPDATER;
  40. }
  41.  
  42.