From fa23c6281bf7801fcf957a292edf6da7d993e383 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 21 Mar 2017 20:42:58 +0100 Subject: [PATCH] New hosts: ap03, klopi. --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 5 +++++ roles/dns/templates/bind/23.172.in-addr.arpa.zone.j2 | 4 +++- roles/dns/templates/bind/binary.kitchen.zone.j2 | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index f30d9a3..f8e1ed0 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -94,6 +94,11 @@ host homer { fixed-address homer.binary.kitchen; } +host klopi { + hardware ethernet 74:da:38:6e:e6:9d; + fixed-address klopi.binary.kitchen; +} + host lock { hardware ethernet b8:27:eb:5d:e7:6e; fixed-address lock.binary.kitchen; diff --git a/roles/dns/templates/bind/23.172.in-addr.arpa.zone.j2 b/roles/dns/templates/bind/23.172.in-addr.arpa.zone.j2 index 3ca53ee..3b4d3a5 100644 --- a/roles/dns/templates/bind/23.172.in-addr.arpa.zone.j2 +++ b/roles/dns/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. ( - 2017031901; serial + 2017032101; serial 1d; refresh 2h; retry 4w; expire @@ -13,6 +13,7 @@ $TTL 1h ; default time-to-live 11.1 IN PTR apcusv.binary.kitchen. 41.1 IN PTR ap01.binary.kitchen. 42.1 IN PTR ap02.binary.kitchen. +43.1 IN PTR ap03.binary.kitchen. 61.1 IN PTR kraut.binary.kitchen. 81.1 IN PTR kraut-bmc.binary.kitchen. ; Services @@ -33,6 +34,7 @@ $TTL 1h ; default time-to-live ; Clients 1.3 IN PTR v2303.core.binary.kitchen. $GENERATE 10-240 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen. +241.3 IN PTR klopi.binary.kitchen. ; MQTT 1.4 IN PTR v2304.core.binary.kitchen. 5.4 IN PTR sushi.mqtt.binary.kitchen. diff --git a/roles/dns/templates/bind/binary.kitchen.zone.j2 b/roles/dns/templates/bind/binary.kitchen.zone.j2 index 910d18b..9002ee3 100644 --- a/roles/dns/templates/bind/binary.kitchen.zone.j2 +++ b/roles/dns/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. ( - 2017031901; serial + 2017032101; serial 1d; refresh 2h; retry 4w; expire @@ -27,6 +27,7 @@ v2301.core IN A 172.23.1.1 apcusv IN A 172.23.1.11 ap01 IN A 172.23.1.41 ap02 IN A 172.23.1.42 +ap03 IN A 172.23.1.43 kraut IN A 172.23.1.61 kraut-bmc IN A 172.23.1.81 ; Services @@ -47,6 +48,7 @@ spiegelei IN A 172.23.2.91 ; Clients v2303.core IN A 172.23.3.1 $GENERATE 1-240 dhcp-${0,3,d}-03 IN A 172.23.3.$ +klopi IN A 172.23.3.241 ; MQTT v2304.core IN A 172.23.4.1 sushi.mqtt IN A 172.23.4.5