diff --git a/machines/fuuko/services/router.nix b/machines/fuuko/services/router.nix index 5b1b6d9..7af3f2b 100644 --- a/machines/fuuko/services/router.nix +++ b/machines/fuuko/services/router.nix @@ -196,6 +196,12 @@ in # SLAAC (for addresses) / DHCPv6 (for DNS) dhcp-range=fd00:80:1::,ra-stateless,ra-names 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 = [ "10.64.0.1" # mullvad DNS, should be fastest overall