From 8f69ef75f169955fe48d05209dfc92ad6908016e Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 27 Nov 2021 21:16:35 +0100 Subject: [PATCH] dhcpd: dns_intern: add Aruba APs --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 10 ++++++++++ .../templates/bind/23.172.in-addr.arpa.zone.j2 | 4 +++- roles/dns_intern/templates/bind/binary.kitchen.zone.j2 | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index 1638ca5..b8968c5 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -157,6 +157,16 @@ host ap06 { fixed-address ap06.binary.kitchen; } +host ap11 { + hardware ethernet 18:64:72:c6:c2:0c; + fixed-address ap11.binary.kitchen; +} + +host ap12 { + hardware ethernet 18:64:72:c6:c4:98; + fixed-address ap12.binary.kitchen; +} + host bowle { hardware ethernet ac:1f:6b:25:16:b6; fixed-address bowle.binary.kitchen; diff --git a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 index ea8b2f2..f6174b2 100644 --- a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 +++ b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN 23.172.in-addr.arpa. ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2021112701; serial + 2021112702; serial 1d; refresh 2h; retry 4w; expire @@ -87,6 +87,8 @@ $GENERATE 10-240 $.4 IN PTR dhcp-${0,3,d}-04.binary.kitchen. $GENERATE 2-254 $.10 IN PTR vpn-${0,3,d}-10.binary.kitchen. ; Management Auweg 31.12 IN PTR sw-auweg.binary.kitchen. +41.12 IN PTR ap11.binary.kitchen. +42.12 IN PTR ap12.binary.kitchen. 61.12 IN PTR weizen.binary.kitchen. 111.12 IN PTR rfp11.binary.kitchen. ; Services Auweg diff --git a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 index 735d256..b1c7c3e 100644 --- a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 +++ b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN binary.kitchen ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2021112701; serial + 2021112702; serial 1d; refresh 2h; retry 4w; expire @@ -108,6 +108,8 @@ salat-bmc IN A 172.23.9.81 ; Services RZ ; Management Auweg sw-auweg IN A 172.23.12.31 +ap11 IN A 172.23.12.41 +ap12 IN A 172.23.12.42 weizen IN A 172.23.12.61 rfp11 IN A 172.23.12.111 ; Services Auweg