Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. config dnsmasq
  2. option domainneeded 1
  3. option boguspriv 1
  4. option filterwin2k 0 # enable for dial on demand
  5. option localise_queries 1
  6. option rebind_protection 1 # disable if upstream must serve RFC1918 addresses
  7. option rebind_localhost 1 # enable for RBL checking and similar services
  8. #list rebind_domain example.lan # whitelist RFC1918 responses for domains
  9. option local '/lan/'
  10. option domain 'lan'
  11. option expandhosts 1
  12. option nonegcache 0
  13. option authoritative 1
  14. option readethers 1
  15. option leasefile '/tmp/dhcp.leases'
  16. option resolvfile '/tmp/resolv.conf.auto'
  17.  
  18. config dhcp lan
  19. option interface lan
  20. option start 100
  21. option limit 150
  22. option leasetime 12h
  23. option 'ignore' '0'
  24. list 'dhcp_option' '3,172.16.42.42'
  25. list 'dhcp_option' '3,172.16.42.42'
  26. list 'dhcp_option' '6,172.16.42.42,8.8.8.8'
  27. list 'dhcp_option' '6,172.16.42.42,208.67.222.222'