From 7b53f00a5ec16ff6d9ce50cb7c8cb78498011abc Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sun, 20 Jan 2019 14:47:55 +0100 Subject: [PATCH] new hosts: maccaroni & spaghetti --- roles/dhcpd/templates/dhcp/dhcpd.conf.j2 | 7 ++++++- .../dns-intern/templates/bind/23.172.in-addr.arpa.zone.j2 | 5 +++-- roles/dns-intern/templates/bind/binary.kitchen.zone.j2 | 5 +++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index c240964..a2726fc 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -133,6 +133,11 @@ host lock { fixed-address lock.binary.kitchen; } +host maccaroni { + hardware ethernet b8:27:eb:18:5c:11; + fixed-address maccaroni.binary.kitchen; +} + host matrix { hardware ethernet b8:27:eb:ed:22:58; fixed-address matrix.binary.kitchen; @@ -154,7 +159,7 @@ host punsch { } host spaghetti { - hardware ethernet b8:27:eb:63:7b:31; + hardware ethernet b8:27:eb:e3:e9:f1; fixed-address spaghetti.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 5864186..7e0f0e3 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. ( - 2018103000; serial + 2019012000; serial 1d; refresh 2h; retry 4w; expire @@ -53,9 +53,10 @@ $TTL 1h ; default time-to-live 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. 244.3 IN PTR mirror.binary.kitchen. +245.3 IN PTR spaghetti.binary.kitchen. +246.3 IN PTR maccaroni.binary.kitchen. ; MQTT 1.4 IN PTR v2304.core.binary.kitchen. 6.4 IN PTR pizza.mqtt.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 01c6ad9..51f5b82 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. ( - 2018103000; serial + 2019012000; serial 1d; refresh 2h; retry 4w; expire @@ -68,9 +68,10 @@ obatzda IN A 172.23.2.92 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 mirror IN A 172.23.3.244 +spaghetti IN A 172.23.3.245 +maccaroni IN A 172.23.3.246 ; MQTT v2304.core IN A 172.23.4.1 pizza.mqtt IN A 172.23.4.6