forked from freifunk-franken/firmware
fff-dhcp: blacklist A record after factory reset
To speed up name resolution, blacklist the A record for local.fff.community by pointing to 0.0.0.0. Without this, dnsmasq can't answer to A lookups and clients might time out waiting for a reply. Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
This commit is contained in:
parent
493208b00b
commit
a3ad66f074
|
@ -32,6 +32,11 @@ uci batch >/dev/null <<EOF
|
|||
set dhcp.@domain[-1].ip="fdff::1"
|
||||
set dhcp.@domain[-1].name="local.fff.community"
|
||||
set dhcp.@domain[-1].addedbyautoconfig="/etc/uci-defaults/90-fff-dhcp"
|
||||
|
||||
add dhcp domain
|
||||
set dhcp.@domain[-1].ip="0.0.0.0"
|
||||
set dhcp.@domain[-1].name="local.fff.community"
|
||||
set dhcp.@domain[-1].addedbyautoconfig="/etc/uci-defaults/90-fff-dhcp"
|
||||
EOF
|
||||
|
||||
uci commit dhcp
|
||||
|
|
Loading…
Reference in New Issue