dnsmasq.conf 802 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # filter what we send upstream
  2. user=dnsmasq
  3. domain-needed
  4. bogus-priv
  5. localise-queries
  6. # allow /etc/hosts and dhcp lookups via *.lan
  7. local=/lan/
  8. domain=lan
  9. expand-hosts
  10. # add more dhcp-range options for every subnet
  11. dhcp-range=192.168.1.129,192.168.1.254,255.255.255.0,72h
  12. interface=lo
  13. interface=eth0.0
  14. #interface=eth1
  15. interface=br0
  16. # Enable dnsmasq's built-in TFTP server
  17. #enable-tftp
  18. # Set the root directory for files available via TFTP.
  19. #tftp-root=/tftpboot
  20. dhcp-authoritative
  21. dhcp-leasefile=/tmp/dhcp.leases
  22. # use /etc/ethers for static hosts
  23. # <hwaddr> <ipaddr>
  24. #read-ethers
  25. # other useful options (0.0.0.0 means server itself)
  26. # default route(s):
  27. dhcp-option=3,0.0.0.0
  28. # DNS server(s):
  29. dhcp-option=6,0.0.0.0
  30. # NTP server(s):
  31. dhcp-option=42,0.0.0.0
  32. # WINS server(s):
  33. #dhcp-option=44,0.0.0.0