/etc/dnsmasq.d
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

20_common.conf 1.4KB

123456789101112131415161718192021222324252627282930313233
  1. # Set the DHCP server to authoritative mode. In this mode it will barge in
  2. # and take over the lease for any client which broadcasts on the network,
  3. # whether it has a record of the lease or not. This avoids long timeouts
  4. # when a machine wakes up on a new network. DO NOT enable this if there's
  5. # the slightest chance that you might end up accidentally configuring a DHCP
  6. # server for your campus/company accidentally. The ISC server uses
  7. # the same option, and this URL provides more information:
  8. # http://www.isc.org/files/auth.html
  9. dhcp-authoritative
  10. # Add local-only domains here, queries in these domains are answered
  11. # from /etc/hosts or DHCP only.
  12. local=/home/
  13. # Set this (and domain: see below) if you want to have a domain
  14. # automatically added to simple names in a hosts-file.
  15. expand-hosts
  16. # Set the domain for dnsmasq. this is optional, but if it is set, it
  17. # does the following things.
  18. # 1) Allows DHCP hosts to have fully qualified domain names, as long
  19. # as the domain part matches this setting.
  20. # 2) Sets the "domain" DHCP option thereby potentially setting the
  21. # domain of all systems configured by DHCP
  22. # 3) Provides the domain part for "expand-hosts"
  23. domain=home
  24. # If you don't want dnsmasq to read /etc/hosts, uncomment the
  25. # following line.
  26. #no-hosts
  27. # or if you want it to read another file, as well as /etc/hosts, use
  28. # this.
  29. addn-hosts=/etc/dnsmasq_hosts