1
0
forked from infra/ansible

Add VPN IPs to DNS.

This commit is contained in:
Markus 2017-02-21 18:46:47 +01:00
parent 12742d569d
commit 9e77e2cc4b
2 changed files with 12 additions and 4 deletions

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. (
2017020901; serial 2017021801; serial
1d; refresh 1d; refresh
2h; retry 2h; retry
4w; expire 4w; expire
@ -45,8 +45,12 @@ $GENERATE 10-240 $.4 IN PTR dhcp-${0,3,d}-04.binary.kitchen.
1.10 IN PTR vtun0.erx-rz.binary.kitchen. 1.10 IN PTR vtun0.erx-rz.binary.kitchen.
$GENERATE 2-254 $.10 IN PTR vpn-${0,3,d}-10.binary.kitchen. $GENERATE 2-254 $.10 IN PTR vpn-${0,3,d}-10.binary.kitchen.
; Point-to-Point ; Point-to-Point
1.96 IN PTR v4000.rtr1.binary.kitchen. 1.96 IN PTR v400.rtr1.binary.kitchen.
2.96 IN PTR gi-1-0-48.core.binary.kitchen. 2.96 IN PTR gi-1-0-48.core.binary.kitchen.
5.96 IN PTR v401.rtr1.binary.kitchen.
6.96 IN PTR eth0.erx-bk.binary.kitchen.
1.97 IN PTR vtun1.erx-rz.binary.kitchen.
2.97 IN PTR vtun1.erx-bk.binary.kitchen.
; Loopback ; Loopback
1.99 IN PTR core.binary.kitchen. 1.99 IN PTR core.binary.kitchen.
2.99 IN PTR rtr1.binary.kitchen. 2.99 IN PTR rtr1.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. (
2017020901; serial 2017021801; serial
1d; refresh 1d; refresh
2h; retry 2h; retry
4w; expire 4w; expire
@ -58,8 +58,12 @@ switch0.erx-rz IN A 172.23.8.254
; VPN RZ ; VPN RZ
$GENERATE 2-254 vpn-${0,3,d}-10 IN A 172.23.10.$ $GENERATE 2-254 vpn-${0,3,d}-10 IN A 172.23.10.$
; Point-to-Point ; Point-to-Point
v4000.rtr1 IN A 172.23.96.1 v400.rtr1 IN A 172.23.96.1
gi-1-0-48.core IN A 172.23.96.2 gi-1-0-48.core IN A 172.23.96.2
v401.rtr1 IN A 172.23.96.5
eth0.erx-bk IN A 172.23.96.6
vtun1.erx-rz IN A 172.23.97.1
vtun1.erx-bk IN A 172.23.97.2
; Loopback ; Loopback
core IN A 172.23.99.1 core IN A 172.23.99.1
rtr1 IN A 172.23.99.2 rtr1 IN A 172.23.99.2