From 871add3b0e3389c3ddf523023448617c97340da7 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 30 Nov 2019 22:12:25 +0100 Subject: [PATCH] dns/dhcp: add ap05 for testing --- 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 7561ae9..ec29d55 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -93,6 +93,11 @@ host ap04 { fixed-address ap04.binary.kitchen; } +host ap05 { + hardware ethernet 9c:8c:d8:c2:c1:de; + fixed-address ap05.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 671369b..40f8e83 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 ns.binary.kitchen. hostmaster.binary.kitchen. ( - 2019103101; serial + 2019113001; serial 1d; refresh 2h; retry 4w; expire @@ -27,6 +27,7 @@ $TTL 1h ; default time-to-live 42.1 IN PTR ap02.binary.kitchen. 43.1 IN PTR ap03.binary.kitchen. 44.1 IN PTR ap04.binary.kitchen. +45.1 IN PTR ap05.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 8f8897b..69a0b80 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 ns.binary.kitchen. hostmaster.binary.kitchen. ( - 2019103103; serial + 2019113001; serial 1d; refresh 2h; retry 4w; expire @@ -42,6 +42,7 @@ ap01 IN A 172.23.1.41 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 modem IN A 172.23.1.51 wurst IN A 172.23.1.60 wurst-bmc IN A 172.23.1.80