From b904a15186dec3da01cc5849a81cafb2c41b1e35 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 6 Aug 2023 18:02:28 +0100 Subject: [PATCH] nixos/bgp: on machines with lots of routes, disable SYSTEMD_RESOLVED_SYNTHESIZE_HOSTNAME --- ops/nixos/lib/bgp.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index 71125a4f22..27f4be7b5e 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -418,5 +418,7 @@ in { services.tailscale.package = depot.nix.pkgs.tailscale; systemd.network.config.networkConfig.ManageForeignRoutes = "no"; + + systemd.services."systemd-resolved".environment.SYSTEMD_RESOLVED_SYNTHESIZE_HOSTNAME = "false"; }; }