From e24a9ede41da615e913367af8413fcc9744b66f6 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 1 May 2018 11:48:55 +0200 Subject: [PATCH] DNS and DHCP update: obazda, garlic --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 5 +++++ roles/dns/templates/bind/23.172.in-addr.arpa.zone.j2 | 5 +++-- roles/dns/templates/bind/binary.kitchen.zone.j2 | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index 76ad923..5e63858 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -96,6 +96,11 @@ host cashdesk { fixed-address cashdesk.binary.kitchen; } +host garlic { + hardware ethernet b8:27:eb:56:2b:7c; + fixed-address garlic.binary.kitchen; +} + host homer { hardware ethernet b8:27:eb:24:b2:12; fixed-address homer.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 b5d9fe4..6b74f7a 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. ( - 2018041601; serial + 2018043001; serial 1d; refresh 2h; retry 4w; expire @@ -42,12 +42,13 @@ $TTL 1h ; default time-to-live 60.2 IN PTR punsch.binary.kitchen. 62.2 IN PTR bowle.binary.kitchen. 91.2 IN PTR spiegelei.binary.kitchen. -92.2 IN PTR obatzda.binary.kitchen. +92.2 IN PTR obazda.binary.kitchen. ; 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. 242.3 IN PTR spaghetti.binary.kitchen. +243.3 IN PTR garlic.binary.kitchen. ; MQTT 1.4 IN PTR v2304.core.binary.kitchen. 6.4 IN PTR pizza.mqtt.binary.kitchen. diff --git a/roles/dns/templates/bind/binary.kitchen.zone.j2 b/roles/dns/templates/bind/binary.kitchen.zone.j2 index b5439ce..12aefa7 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. ( - 2018041601; serial + 2018043001; serial 1d; refresh 2h; retry 4w; expire @@ -56,12 +56,13 @@ cashdesk IN A 172.23.2.44 punsch IN A 172.23.2.60 bowle IN A 172.23.2.62 spiegelei IN A 172.23.2.91 -obatzda IN A 172.23.2.92 +obazda IN A 172.23.2.92 ; 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 spaghetti IN A 172.23.3.242 +garlic IN A 172.23.3.243 ; MQTT v2304.core IN A 172.23.4.1 pizza.mqtt IN A 172.23.4.6