1
0
forked from infra/ansible

dns/dhcp: reserved host mirror

This commit is contained in:
Markus 2018-07-08 16:38:16 +02:00
parent 4aa681ff70
commit e4b07bc43b
3 changed files with 9 additions and 2 deletions

View File

@ -126,6 +126,11 @@ host matrix {
fixed-address matrix.binary.kitchen; fixed-address matrix.binary.kitchen;
} }
host mirror {
hardware ethernet 74:da:38:7d:ed:84;
fixed-address mirror.binary.kitchen;
}
host pizza { host pizza {
hardware ethernet 52:54:00:17:02:21; hardware ethernet 52:54:00:17:02:21;
fixed-address pizza.binary.kitchen; fixed-address pizza.binary.kitchen;

View File

@ -1,7 +1,7 @@
$ORIGIN 23.172.in-addr.arpa. ; base for unqualified names $ORIGIN 23.172.in-addr.arpa. ; base for unqualified names
$TTL 1h ; default time-to-live $TTL 1h ; default time-to-live
@ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. ( @ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. (
2018061100; serial 2018070800; serial
1d; refresh 1d; refresh
2h; retry 2h; retry
4w; expire 4w; expire
@ -50,6 +50,7 @@ $GENERATE 10-240 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen.
241.3 IN PTR klopi.binary.kitchen. 241.3 IN PTR klopi.binary.kitchen.
242.3 IN PTR spaghetti.binary.kitchen. 242.3 IN PTR spaghetti.binary.kitchen.
243.3 IN PTR garlic.binary.kitchen. 243.3 IN PTR garlic.binary.kitchen.
244.3 IN PTR mirror.binary.kitchen.
; MQTT ; MQTT
1.4 IN PTR v2304.core.binary.kitchen. 1.4 IN PTR v2304.core.binary.kitchen.
6.4 IN PTR pizza.mqtt.binary.kitchen. 6.4 IN PTR pizza.mqtt.binary.kitchen.

View File

@ -1,7 +1,7 @@
$ORIGIN binary.kitchen ; base for unqualified names $ORIGIN binary.kitchen ; base for unqualified names
$TTL 1h ; default time-to-live $TTL 1h ; default time-to-live
@ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. ( @ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. (
2018061300; serial 2018070800; serial
1d; refresh 1d; refresh
2h; retry 2h; retry
4w; expire 4w; expire
@ -65,6 +65,7 @@ $GENERATE 1-240 dhcp-${0,3,d}-03 IN A 172.23.3.$
klopi IN A 172.23.3.241 klopi IN A 172.23.3.241
spaghetti IN A 172.23.3.242 spaghetti IN A 172.23.3.242
garlic IN A 172.23.3.243 garlic IN A 172.23.3.243
mirror IN A 172.23.3.244
; MQTT ; MQTT
v2304.core IN A 172.23.4.1 v2304.core IN A 172.23.4.1
pizza.mqtt IN A 172.23.4.6 pizza.mqtt IN A 172.23.4.6