blob: 5ca7388fdc6bd0d5ad6040134b63826df8aa6e11 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/bin/sh
2
3# Why we tune dnsmasq?
4# localservice=0 => other hnetd instances can query for local names
5# boguspriv=0 => allow reverse resolution of RFC1918 w/o local hosts entries
6
7uci batch <<EOF
8set dhcp.odhcpd.maindhcp=1
9set dhcp.@dnsmasq[0].localservice=0
10set dhcp.@dnsmasq[0].boguspriv=0
11commit dhcp
12EOF