diff options
| author | Markus Stenberg <markus.stenberg@iki.fi> | 2015-09-02 12:35:37 +0300 |
|---|---|---|
| committer | Markus Stenberg <markus.stenberg@iki.fi> | 2015-09-02 12:35:37 +0300 |
| commit | 444888b4bd7843084e9aa299fc4d36598b26faca (patch) | |
| tree | e6bddf2a09b63547303fa2ff8faffa5013ff76ac /hnetd | |
| parent | a845bb4b95bb6598bb1f04a578c47383ff2aaac2 (diff) | |
hnetd: Now disable in dnsmasq both rebind_protection and boguspriv by default, so that IPv4 naming works 'as expected' with multiple routers without user configuration.
Diffstat (limited to 'hnetd')
| -rw-r--r-- | hnetd/files/hnetd.defaults | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hnetd/files/hnetd.defaults b/hnetd/files/hnetd.defaults index 8dc7871..f9ed705 100644 --- a/hnetd/files/hnetd.defaults +++ b/hnetd/files/hnetd.defaults @@ -1,7 +1,14 @@ #!/bin/sh +# Why we tune dnsmasq? +# localservice=0 => other hnetd instances can query for local names +# rebind_protection=0 => accept RFC1918 names from the other hnetd instances +# 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].rebind_protection=0 +set dhcp.@dnsmasq[0].boguspriv=0 commit dhcp EOF |
