diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-09-21 13:15:38 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-09-21 13:15:38 -0500 |
| commit | a6416c92b24f86a0c317e4d8d392011029246094 (patch) | |
| tree | 4649232a3452ff137b69aac7a3fe8d1875ac21df /hosts/poweredge-pro/dns-overrides.nix | |
| parent | fade62283a51cafa1549ecfdd245404f9f76defb (diff) | |
| download | nixos-a6416c92b24f86a0c317e4d8d392011029246094.tar.xz nixos-a6416c92b24f86a0c317e4d8d392011029246094.zip | |
update dns-dhcp module to explicitly distinguish between local domain (dnsmasq) overrides and proper dns overrides with unbound. fixed dns overrides and imported them for poweredge and poweredge-pro. cleaned up router-hosts.nix on poweredgeHEADmaster
Diffstat (limited to 'hosts/poweredge-pro/dns-overrides.nix')
| -rw-r--r-- | hosts/poweredge-pro/dns-overrides.nix | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/hosts/poweredge-pro/dns-overrides.nix b/hosts/poweredge-pro/dns-overrides.nix index 3bcdb90..0ed161c 100644 --- a/hosts/poweredge-pro/dns-overrides.nix +++ b/hosts/poweredge-pro/dns-overrides.nix @@ -1,32 +1,12 @@ let - localResolution.localDomain = "pls.lan"; - dhcp = { - inherit staticLeases; - defaultGateway = "192.168.77.1"; - localhostIp = "192.168.77.2"; - rangeStart = "192.168.77.50"; - rangeEnd = "192.168.77.250"; - }; - staticLeases = { - devel = { macAddress = "00:a0:98:79:81:5a"; staticIp = "192.168.77.3"; }; - mailcow = { macAddress = "00:a0:98:79:20:a2"; staticIp = "192.168.77.7"; }; - tjkeller = { macAddress = "00:a0:98:62:cf:86"; staticIp = "192.168.77.8"; }; - filebrowser = { macAddress = "02:00:00:00:77:12"; staticIp = "192.168.77.12"; }; - WIN-BGBGC27B1PF = { macAddress = "d8:9e:f3:1c:f0:1c"; staticIp = "192.168.77.30"; }; # DACS - DESKTOP-CQ4UIF9 = { macAddress = "08:bf:b8:3f:bd:48"; staticIp = "192.168.77.31"; }; # Kyle - WIN-6FVMAFOID4G = { macAddress = "00:a0:98:58:10:85"; staticIp = "192.168.77.33"; }; # QB - office-precision = { macAddress = "48:4d:7e:f8:96:47"; staticIp = "192.168.77.34"; }; - XRX9C934E85D0A3 = { macAddress = "9c:93:4e:85:d0:a3"; staticIp = "192.168.77.40"; }; # Xerox - nvr = { macAddress = "98:8b:0a:cf:4f:5e"; staticIp = "192.168.77.176"; }; - }; - dns.hostOverrides = { - "docs.chexx.net" = "192.168.77.3"; - "files.chexx.net" = "192.168.77.12"; - "vault.chexx.net" = "192.168.77.3"; - "wg-easy.chexx.net" = "192.168.77.3"; + dns.overrides.records = { + "docs.chexx.net" = { recordType = "A"; value = "192.168.77.3"; }; + "files.chexx.net" = { recordType = "A"; value = "192.168.77.12"; }; + "vault.chexx.net" = { recordType = "A"; value = "192.168.77.3"; }; + "wg-easy.chexx.net" = { recordType = "A"; value = "192.168.77.3"; }; }; in { services._router.dnsDhcpConfig = { - inherit localResolution dhcp dns; + inherit dns; }; } |
