From 7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 27 Feb 2023 17:57:00 +0100 Subject: vidhar: printer --- hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa | 3 ++- hosts/vidhar/dns/zones/yggdrasil.soa | 3 ++- hosts/vidhar/network/dhcp/default.nix | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa b/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa index 90a26ff5..01941df6 100644 --- a/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa +++ b/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa @@ -1,7 +1,7 @@ $ORIGIN 141.10.in-addr.arpa. $TTL 300 @ IN SOA vidhar.lan.yggdrasil. hostmaster.yggdrasil.li ( - 2022031506 ; serial + 2023022700 ; serial 300 ; refresh 300 ; retry 300 ; expire @@ -11,6 +11,7 @@ $TTL 300 IN NS vidhar.lan.yggdrasil. 1.0 IN PTR vidhar.lan.yggdrasil. +2.0 IN PTR printer.lan.yggdrasil. 1.1 IN PTR vidhar.mgmt.yggdrasil. 2.1 IN PTR switch01.mgmt.yggdrasil. diff --git a/hosts/vidhar/dns/zones/yggdrasil.soa b/hosts/vidhar/dns/zones/yggdrasil.soa index e2e906d9..49617c80 100644 --- a/hosts/vidhar/dns/zones/yggdrasil.soa +++ b/hosts/vidhar/dns/zones/yggdrasil.soa @@ -1,7 +1,7 @@ $ORIGIN yggdrasil. $TTL 300 @ IN SOA vidhar.yggdrasil. hostmaster.yggdrasil.li ( - 2022112101 ; serial + 2023022700 ; serial 300 ; refresh 300 ; retry 300 ; expire @@ -23,6 +23,7 @@ pgbackrest.surtr IN CNAME surtr.yggdrasil. vidhar.lan IN A 10.141.0.1 +printer.lan IN A 10.141.0.2 vidhar.mgmt IN A 10.141.1.1 switch01.mgmt IN A 10.141.1.2 diff --git a/hosts/vidhar/network/dhcp/default.nix b/hosts/vidhar/network/dhcp/default.nix index 1c29dc6a..af7a3545 100644 --- a/hosts/vidhar/network/dhcp/default.nix +++ b/hosts/vidhar/network/dhcp/default.nix @@ -108,6 +108,10 @@ with lib; { hostname = "geri"; hw-address = "0e:e6:43:5e:37:7b"; } + { hostname = "printer"; + hw-address = "30:cd:a7:b0:55:8d"; + ip-address = "10.141.0.2"; + } ]; } { subnet = "10.141.1.0/24"; -- cgit v1.2.3