From 09043f39caaef2b43270adba403b6b0d57425936 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Thu, 17 Jun 2021 16:47:23 +0200 Subject: [PATCH] dhcpd: dns_intern: new device ap06 --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 5 +++++ roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 | 3 ++- roles/dns_intern/templates/bind/binary.kitchen.zone.j2 | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index c8c528f..c21ac1a 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -108,6 +108,11 @@ host ap05 { fixed-address ap05.binary.kitchen; } +host ap06 { + hardware ethernet 94:b4:0f:c0:1d:a0; + fixed-address ap06.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 8ec6641..d598adb 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. ( - 2021051601; serial + 2021061701; serial 1d; refresh 2h; retry 4w; expire @@ -29,6 +29,7 @@ $TTL 1h ; default time-to-live 43.1 IN PTR ap03.binary.kitchen. 44.1 IN PTR ap04.binary.kitchen. 45.1 IN PTR ap05.binary.kitchen. +46.1 IN PTR ap06.binary.kitchen. 51.1 IN PTR modem.binary.kitchen. 60.1 IN PTR wurst.binary.kitchen. 80.1 IN PTR wurst-bmc.binary.kitchen. diff --git a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 index 465a654..4979950 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. ( - 2021051601; serial + 2021061701; serial 1d; refresh 2h; retry 4w; expire @@ -50,6 +50,7 @@ ap02 IN A 172.23.1.42 ap03 IN A 172.23.1.43 ap04 IN A 172.23.1.44 ap05 IN A 172.23.1.45 +ap06 IN A 172.23.1.46 modem IN A 172.23.1.51 wurst IN A 172.23.1.60 wurst-bmc IN A 172.23.1.80