add dnsdist and loki dns

This commit is contained in:
Kameron Kenny 2025-02-25 12:34:57 -05:00
parent 7386aa10c2
commit 9124f51c6d
4 changed files with 11 additions and 9 deletions

View File

@ -18,7 +18,7 @@ services:
container_name: ns1 container_name: ns1
build: build:
dockerfile: Dockerfile.primary dockerfile: Dockerfile.primary
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:250112.0.1 image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:250225.0.1
restart: always restart: always
user: root user: root
environment: environment:
@ -41,7 +41,7 @@ services:
container_name: ns2 container_name: ns2
build: build:
dockerfile: Dockerfile.secondary dockerfile: Dockerfile.secondary
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-secondary:250102.0.1 image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-secondary:250225.0.1
restart: always restart: always
user: root user: root
environment: environment:

View File

@ -1,6 +1,6 @@
$TTL 3600 $TTL 3600
@ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. ( @ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. (
24102001 ; serial 25022501 ; serial
21600 ; refresh after 6 hours 21600 ; refresh after 6 hours
3600 ; retry after 1 hour 3600 ; retry after 1 hour
604800 ; expire after 1 week 604800 ; expire after 1 week
@ -19,8 +19,8 @@ $TTL 3600
248.53 IN PTR 10-200-53-248.in.thelinuxpro.net. 248.53 IN PTR 10-200-53-248.in.thelinuxpro.net.
249.53 IN PTR 10-200-53-249.in.thelinuxpro.net. 249.53 IN PTR 10-200-53-249.in.thelinuxpro.net.
250.53 IN PTR pihole.in.thelinuxpro.net. 250.53 IN PTR pihole.in.thelinuxpro.net.
251.53 IN PTR 1.ntp.in.thelinuxpro.net. 251.53 IN PTR dnsdist1.in.thelinuxpro.net.
252.53 IN PTR 2.ntp.in.thelinuxpro.net. 252.53 IN PTR dnsdist2.in.thelinuxpro.net.
253.53 IN PTR 10-200-53-253.in.thelinuxpro.net. 253.53 IN PTR 10-200-53-253.in.thelinuxpro.net.
254.53 IN PTR gw53.in.thelinuxpro.net. 254.53 IN PTR gw53.in.thelinuxpro.net.
;;; 10.200.99 ;;; 10.200.99

View File

@ -1,6 +1,6 @@
$TTL 3600 $TTL 3600
@ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. ( @ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. (
25011201 ; serial 25022501 ; serial
21600 ; refresh after 6 hours 21600 ; refresh after 6 hours
3600 ; retry after 1 hour 3600 ; retry after 1 hour
604800 ; expire after 1 week 604800 ; expire after 1 week
@ -25,6 +25,7 @@ $TTL 3600
35.23 IN PTR blackbox-exporter.in.thelinuxpro.net. 35.23 IN PTR blackbox-exporter.in.thelinuxpro.net.
36.23 IN PTR nagios.in.thelinuxpro.net. 36.23 IN PTR nagios.in.thelinuxpro.net.
37.23 IN PTR nagios-db.in.thelinuxpro.net. 37.23 IN PTR nagios-db.in.thelinuxpro.net.
38.23 IN PTR loki.in.thelinuxpro.net.
41.23 IN PTR influxdb.in.thelinuxpro.net. 41.23 IN PTR influxdb.in.thelinuxpro.net.
42.23 IN PTR telegraf.in.thelinuxpro.net. 42.23 IN PTR telegraf.in.thelinuxpro.net.
43.23 IN PTR telegraf-syslog.in.thelinuxpro.net. 43.23 IN PTR telegraf-syslog.in.thelinuxpro.net.

View File

@ -1,6 +1,6 @@
$TTL 2m $TTL 2m
@ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. ( @ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. (
25011201 ; serial, todays date + todays serial # 25022501 ; serial, todays date + todays serial #
1h ; refresh, seconds 1h ; refresh, seconds
15m ; retry, seconds 15m ; retry, seconds
10D ; expire, seconds 10D ; expire, seconds
@ -34,6 +34,7 @@ pihole-exporter IN A 10.99.23.34
blackbox-exporter IN A 10.99.23.35 blackbox-exporter IN A 10.99.23.35
nagios IN A 10.99.23.36 nagios IN A 10.99.23.36
nagios-db IN A 10.99.23.37 nagios-db IN A 10.99.23.37
loki IN A 10.99.23.38
influxdb IN A 10.99.23.41 influxdb IN A 10.99.23.41
telegraf IN A 10.99.23.42 telegraf IN A 10.99.23.42
telegraf-syslog IN A 10.99.23.43 telegraf-syslog IN A 10.99.23.43
@ -48,8 +49,8 @@ random IN A 10.99.23.100
sensors IN A 10.99.23.111 sensors IN A 10.99.23.111
; ;
pihole IN A 10.200.53.250 pihole IN A 10.200.53.250
1.ntp IN A 10.200.53.251 dnsdist1 IN A 10.200.53.251
2.ntp IN A 10.200.53.252 dnsdist2 IN A 10.200.53.252
; ;
dns01 IN A 10.200.53.241 dns01 IN A 10.200.53.241
dns02 IN A 10.200.53.242 dns02 IN A 10.200.53.242