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

By default OpenWRT generates A and AAAA records for the routers
hostname. This might interferes with upstream records and breaks when
DNSSEC is utilized.

Therefore, disable this features.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Fabian Bläse 2022-11-16 12:56:15 +01:00
parent d34438d8b1
commit 0e62ca5307
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'