layer3: move from fixed address to fixed hostname #80

Open
jkimmel wants to merge 2 commits from jkimmel/firmware:fdff into master

2 Commits

Author SHA1 Message Date
Johannes Kimmel a3ad66f074 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>
2021-02-20 14:06:12 +01:00
Johannes Kimmel 493208b00b layer3: move from fixed address to fixed hostname
Add "local.fff.community" hostname that resolves to the local router.
All possible addresses are made available to provide multiple fallbacks:
  - client ipv4 and ipv6 addresses
  - peer_ip and peer_ip6 addresses
  - fdff::1/64 on first boot and after factory reset

The moment any ipv6 network is configured, all occurrences of the
fixed fdff::/64 network are removed.

Fixes #76

Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
2021-02-20 12:00:37 +01:00