mirror of
https://git.openwrt.org/feed/routing.git
synced 2024-06-17 04:33:58 +02:00
13 lines
308 B
Bash
13 lines
308 B
Bash
#!/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
|
|
|
|
uci batch <<EOF
|
|
set dhcp.odhcpd.maindhcp=1
|
|
set dhcp.@dnsmasq[0].localservice=0
|
|
set dhcp.@dnsmasq[0].boguspriv=0
|
|
commit dhcp
|
|
EOF
|