Advertisement
RingtailedFox

OpenWRT /etc/config/dhcp

Nov 11th, 2020
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1.  
  2. config dnsmasq
  3. option domainneeded '1'
  4. option boguspriv '1'
  5. option filterwin2k '0'
  6. option localise_queries '1'
  7. option rebind_protection '1'
  8. option rebind_localhost '1'
  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. option nonwildcard '1'
  18. option localservice '1'
  19. option confdir '/tmp/dnsmasq.d'
  20. option noresolv '1'
  21. option doh_backup_noresolv '-1'
  22. list server '127.0.0.1#5053'
  23. list server '127.0.0.1#5054'
  24. list server '127.0.0.1#5055'
  25. list server '127.0.0.1#5056'
  26. list doh_backup_server '127.0.0.1#5053'
  27. list doh_backup_server '127.0.0.1#5054'
  28. list doh_backup_server '127.0.0.1#5055'
  29. list doh_backup_server '127.0.0.1#5056'
  30.  
  31. config dhcp 'lan'
  32. option interface 'lan'
  33. option start '100'
  34. option limit '150'
  35. option leasetime '12h'
  36. option dhcpv6 'server'
  37. option ra 'server'
  38. list dhcp_option '44,192.168.1.1'
  39. option ra_management '1'
  40.  
  41. config dhcp 'wan'
  42. option interface 'wan'
  43. option ignore '1'
  44.  
  45. config host
  46. option name 'Nighthawk'
  47. option dns '1'
  48. option mac 'DC:EF:09:E5:75:3A'
  49. option ip '192.168.1.1'
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement