fuuko/router: Add static record for switch

This commit is contained in:
Simon Bruder 2023-04-02 12:00:19 +02:00
parent 444aa962b5
commit 68cc1d32d4
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -196,6 +196,12 @@ in
# SLAAC (for addresses) / DHCPv6 (for DNS) # SLAAC (for addresses) / DHCPv6 (for DNS)
dhcp-range=fd00:80:1::,ra-stateless,ra-names dhcp-range=fd00:80:1::,ra-stateless,ra-names
dhcp-option=option6:dns-server,fd00:80:1::1 dhcp-option=option6:dns-server,fd00:80:1::1
# Despite its name, the switch does not have a “smart” configuration,
# that would allow me to tell it not to get DHCP from wan,
# but from lan instead.
# So it has to use static configuration.
host-record=switchviech,switchviech.${domain},10.80.1.19
''; '';
servers = [ servers = [
"10.64.0.1" # mullvad DNS, should be fastest overall "10.64.0.1" # mullvad DNS, should be fastest overall