openwrt-routing/hnetd/files/hnetd.defaults

13 lines
308 B
Plaintext
Raw Normal View History

2014-02-28 18:09:15 +01:00
#!/bin/sh
# Why we tune dnsmasq?
# localservice=0 => other hnetd instances can query for local names
# boguspriv=0 => allow reverse resolution of RFC1918 w/o local hosts entries
2014-02-28 18:09:15 +01:00
uci batch <<EOF
set dhcp.odhcpd.maindhcp=1
set dhcp.@dnsmasq[0].localservice=0
set dhcp.@dnsmasq[0].boguspriv=0
2014-02-28 18:09:15 +01:00
commit dhcp
EOF