Advertisement
babbahotep

DNSmasq conf

Mar 4th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. pid-file=/var/run/dnsmasq.pid
  2. user=nobody
  3. bind-dynamic
  4. interface=br0
  5. interface=pptp*
  6. no-dhcp-interface=pptp*
  7. no-resolv
  8. servers-file=/tmp/resolv.dnsmasq
  9. no-poll
  10. no-negcache
  11. cache-size=1500
  12. min-port=4096
  13. domain=home
  14. expand-hosts
  15. bogus-priv
  16. domain-needed
  17. local=/home/
  18. dhcp-range=lan,192.168.1.200,192.168.1.254,255.255.255.0,86400s
  19. dhcp-option=lan,3,192.168.1.1
  20. dhcp-option=lan,6,192.168.1.1
  21. dhcp-option=lan,15,home
  22. dhcp-option=lan,44,192.168.1.1
  23. dhcp-option=lan,252,"\n"
  24. dhcp-authoritative
  25. addn-hosts=/etc/hosts.dnsmasq
  26. dhcp-name-match=set:wpad-ignore,wpad
  27. dhcp-ignore-names=tag:wpad-ignore
  28. dhcp-script=/sbin/dhcpc_lease
  29. script-arp
  30.  
  31. ## My dnsmasq.conf.add starts here
  32. address=/home/127.0.0.1
  33. address=/home/::1
  34. addn-hosts=/jffs/configs/xxxhosts.dnsmasq
  35. resolv-file=/jffs/configs/resolv.dnsmasq
  36. dhcp-generate-names
  37. server=1.1.1.1
  38. server=1.0.0.1
  39.  
  40. local=/home/
  41. domain=home
  42.  
  43. dhcp-host=2C:56:DC:54:xx:xx,INF-RTAC3100,192.168.1.1,60m
  44. dhcp-host=D8:50:E6:CE:xx:xx,INF-RT-AC68U-59D8,192.168.1.2,60m
  45. dhcp-host=30:85:a9:e8:xx:xx,INF-RT-AC66,192.168.1.3,60m
  46. dhcp-host=20:4e:7f:48:xx:xx,INF-Netgear108-1,192.168.1.5,60m
  47. dhcp-host=20:4e:7f:48:xx:xx,INF-Netgear108-2,192.168.1.6,60m
  48. dhcp-host=a0:63:91:6f:xx:xx,INF-netgear108-3,192.168.1.7,60m
  49. dhcp-host=f4:03:43:07:xx:xx,INF-Aruba2930,192.168.1.16,60m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement