From e7375cac3e0b51c3734445d008281aade0408851 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 9 Mar 2019 18:33:00 +0100 Subject: [PATCH] new host: mpcnc --- 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 34155d0..45d416e 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -65,7 +65,7 @@ subnet 172.23.3.0 netmask 255.255.255.0 { {% if dhcpd_failover == true %} failover peer "failover-partner"; {% endif %} - range 172.23.3.10 172.23.3.240; + range 172.23.3.10 172.23.3.230; } } @@ -143,6 +143,11 @@ host mirror { fixed-address mirror.binary.kitchen; } +host mpcnc { + hardware ethernet b8:27:eb:0f:d3:8b; + fixed-address mpcnc.binary.kitchen; +} + host pizza { hardware ethernet 52:54:00:17:02:21; fixed-address pizza.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 fd6c963..82d63f7 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. ( - 2019021301; serial + 2019030901; serial 1d; refresh 2h; retry 4w; expire @@ -51,8 +51,9 @@ $TTL 1h ; default time-to-live 92.2 IN PTR obatzda.binary.kitchen. ; Clients 1.3 IN PTR v2303.core.binary.kitchen. -$GENERATE 10-240 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen. +$GENERATE 10-230 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen. 241.3 IN PTR klopi.binary.kitchen. +242.3 IN PTR mpcnc.binary.kitchen. 243.3 IN PTR garlic.binary.kitchen. 244.3 IN PTR mirror.binary.kitchen. 245.3 IN PTR spaghetti.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 7422a21..92ae345 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. ( - 2019021301; serial + 2019030901; serial 1d; refresh 2h; retry 4w; expire @@ -65,8 +65,9 @@ spiegelei IN A 172.23.2.91 obatzda IN A 172.23.2.92 ; Clients v2303.core IN A 172.23.3.1 -$GENERATE 10-240 dhcp-${0,3,d}-03 IN A 172.23.3.$ +$GENERATE 10-230 dhcp-${0,3,d}-03 IN A 172.23.3.$ klopi IN A 172.23.3.241 +mpcnc 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