From fe3e529cf667ddacca331c09d3a3f33469676de6 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 22 Feb 2022 10:06:51 +0100 Subject: [PATCH] Use local DNS resolver instead of quad9 that wasn't working very well --- cluster/prod/site/neptune.nix | 1 + cluster/staging/site/neptune.nix | 1 + configuration.nix | 4 ---- ssh_known_hosts | 4 ++++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cluster/prod/site/neptune.nix b/cluster/prod/site/neptune.nix index 6987f31..c0eb39e 100644 --- a/cluster/prod/site/neptune.nix +++ b/cluster/prod/site/neptune.nix @@ -5,6 +5,7 @@ address = "192.168.1.254"; interface = "eno1"; }; + networking.nameservers = [ "192.168.1.254" ]; deuxfleurs.site_name = "neptune"; } diff --git a/cluster/staging/site/neptune.nix b/cluster/staging/site/neptune.nix index 49e126a..ec8b052 100644 --- a/cluster/staging/site/neptune.nix +++ b/cluster/staging/site/neptune.nix @@ -5,6 +5,7 @@ address = "192.168.1.254"; interface = "eno1"; }; + networking.nameservers = [ "192.168.1.254" ]; deuxfleurs.site_name = "neptune"; diff --git a/configuration.nix b/configuration.nix index bdc6f97..8feb850 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,10 +23,6 @@ # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = false; - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Networking configuration (static IPs for each node is defined in node/*.nix) - networking.nameservers = [ "9.9.9.9" ]; # Set your time zone. time.timeZone = "Europe/Paris"; diff --git a/ssh_known_hosts b/ssh_known_hosts index 468ea66..5c5dd66 100644 --- a/ssh_known_hosts +++ b/ssh_known_hosts @@ -8,3 +8,7 @@ 192.168.1.22 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXyY9yZdq/VYpg3K1plBzFvim41tWlu+Dmov3BNSm39 192.168.1.21 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILYIRbHPU1w1xWRpm2+u3QsXOKfMjv1EXrpYbHT+epds 192.168.1.23 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICNRilSqrgqdZlLdhN2eOY5ZMbzqpeqAdIf6QuChhXU+ +10.42.2.2 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIORTjNdFaDbhto8kuMPB3hYkfnzdnceZVIELApUe5PPL +10.42.2.22 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXyY9yZdq/VYpg3K1plBzFvim41tWlu+Dmov3BNSm39 +10.42.2.21 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILYIRbHPU1w1xWRpm2+u3QsXOKfMjv1EXrpYbHT+epds +10.42.2.23 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICNRilSqrgqdZlLdhN2eOY5ZMbzqpeqAdIf6QuChhXU+