fff-dhcp: Do not generate dns records for local hostname #269

Closed
fbl wants to merge 1 commits from fbl:dns-local-fix into master
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ uci batch >/dev/null <<EOF
set dhcp.@dnsmasq[-1].noresolv='1'
set dhcp.@dnsmasq[-1].localservice='1'
# do not generate A or AAAA records for the routers hostname,
# because this might interfere with upstream records.
#
# e.g. hostname: 'router.fff.community'
set dhcp.@dnsmasq[-1].add_local_fqdn='0'
set dhcp.client=dhcp
set dhcp.client.interface='client'
set dhcp.client.leasetime='1h'