1
0
forked from infra/ansible

IP, DNS and DHCP for spaghetti (octopi).

This commit is contained in:
Markus 2017-09-12 19:41:36 +02:00
parent b6132e8720
commit 261c053c93
3 changed files with 10 additions and 2 deletions

View File

@ -119,6 +119,11 @@ host punsch {
fixed-address punsch.binary.kitchen;
}
host spaghetti {
hardware ethernet b8:27:eb:63:7b:31;
fixed-address spaghetti.binary.kitchen;
}
host spiegelei {
hardware ethernet 00:23:7d:79:82:8e;
fixed-address spiegelei.binary.kitchen;

View File

@ -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. (
2017083101; serial
2017091201; serial
1d; refresh
2h; retry
4w; expire
@ -44,9 +44,11 @@ $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.
; MQTT
1.4 IN PTR v2304.core.binary.kitchen.
5.4 IN PTR sushi.mqtt.binary.kitchen.
6.4 IN PTR pizza.mqtt.binary.kitchen.
$GENERATE 10-240 $.4 IN PTR dhcp-${0,3,d}-04.binary.kitchen.
; Management RZ
23.8 IN PTR cernunnos.binary.kitchen.

View File

@ -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. (
2017083101; serial
2017091201; serial
1d; refresh
2h; retry
4w; expire
@ -58,6 +58,7 @@ spiegelei IN A 172.23.2.91
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
; MQTT
v2304.core IN A 172.23.4.1
sushi.mqtt IN A 172.23.4.5