dnsmasq.j2 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. config dnsmasq
  2. option domainneeded '1'
  3. option filterwin2k '0'
  4. option localise_queries '1'
  5. option rebind_localhost '1'
  6. option local '/lan/'
  7. option domain 'lan'
  8. option expandhosts '1'
  9. option nonegcache '0'
  10. option authoritative '1'
  11. option readethers '1'
  12. option leasefile '/tmp/dhcp.leases'
  13. option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
  14. option localservice '1'
  15. option ednspacket_max '1232'
  16. option nonwildcard '0'
  17. option boguspriv '0'
  18. option rebind_protection '0'
  19. option strictorder '1'
  20. {% for server in dnsmasq.servers %}
  21. list server '{{ server }}'
  22. {% endfor %}
  23. config odhcpd 'odhcpd'
  24. option maindhcp '0'
  25. option leasefile '/tmp/hosts/odhcpd'
  26. option leasetrigger '/usr/sbin/odhcpd-update'
  27. option loglevel '4'
  28. config dhcp 'wan6'
  29. option interface 'wan6'
  30. option ignore '1'
  31. config dhcp 'wan'
  32. option interface 'wan'
  33. option ignore '1'
  34. config dhcp 'lan'
  35. option interface 'lan'
  36. option ignore '1'