Merge pull request #151 from HRogge/master
[lede-routing/.git] / hnetd / files / hnetd.defaults
index 8dc7871a3b4f58f20567e00e33cff58de13d46fc..5ca7388fdc6bd0d5ad6040134b63826df8aa6e11 100644 (file)
@@ -1,7 +1,12 @@
 #!/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