commit cc8b5d2327a31aef50b5a43fbded4ccc2e12765e (tree)
parent ffb0f6df4e3433f15f9fd2fd8d49cc0f2395937f
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Fri, 14 Nov 2025 22:50:46 +0200
nsd to vno1-gdrx; reduce vpn ttl
Diffstat:
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/data.nix b/data.nix
@@ -169,7 +169,7 @@ rec {
photos A ${hosts."fwminex.jakst.vpn".jakstIP}
ns1 86400 A ${vno1}
ns2 86400 A ${fra1c}
- vpn A ${vno1}
+ vpn 300 A ${fra1c}
rita A ${vno1}
git A ${vno1}
git HTTPS 1 . alpn="h3,h2" ipv4hint="${vno1}"
diff --git a/hosts/vno1-gdrx/configuration.nix b/hosts/vno1-gdrx/configuration.nix
@@ -77,6 +77,17 @@ in
hardware.cpu.intel.updateMicrocode = true;
nixpkgs.hostPlatform = "x86_64-linux";
+ services.nsd = {
+ enable = true;
+ interfaces = [
+ "0.0.0.0"
+ "::"
+ ];
+ zones = {
+ "jakstys.lt.".data = myData.jakstysLTZone;
+ };
+ };
+
mj = {
stateVersion = "24.05";
timeZone = "Europe/Vilnius";