From 71b11cdca3f5a55263f13a70b59281b5a8b09caa Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Tue, 25 Jun 2024 13:50:46 -0400 Subject: [PATCH] Add records for influxdb/telegraf --- Dockerfile.primary | 2 +- docker-compose.yml | 2 +- primary/var/lib/bind/db.10.99 | 4 +++- primary/var/lib/bind/db.in.thelinuxpro.net | 4 +++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile.primary b/Dockerfile.primary index 0363436..e524a1c 100644 --- a/Dockerfile.primary +++ b/Dockerfile.primary @@ -1,6 +1,6 @@ FROM ubuntu/bind9:9.18-22.04_beta -LABEL version="20240623.1.2" +LABEL version="20240625.1.1" LABEL description="bind9 primary nameserver" ENV BIND_LIB_DIR=/var/lib/bind diff --git a/docker-compose.yml b/docker-compose.yml index 622f322..9b60828 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: container_name: ns1 build: dockerfile: Dockerfile.primary - image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240623.1.2 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240625.1.1 restart: always user: root environment: diff --git a/primary/var/lib/bind/db.10.99 b/primary/var/lib/bind/db.10.99 index 9a101f6..f1598bc 100755 --- a/primary/var/lib/bind/db.10.99 +++ b/primary/var/lib/bind/db.10.99 @@ -1,6 +1,6 @@ $TTL 3600 @ IN SOA in.thelinuxpro.net. hostmaster.in.thelinuxpro.net. ( - 24062301 ; serial + 24062501 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week @@ -23,6 +23,8 @@ $TTL 3600 33.23 IN PTR unpoller.in.thelinuxpro.net. 34.23 IN PTR pihole-exporter.in.thelinuxpro.net. 35.23 IN PTR blackbox-exporter.in.thelinuxpro.net. +41.23 IN PTR influxdb.in.thelinuxpro.net. +42.23 IN PTR telegraf.in.thelinuxpro.net. 51.23 IN PTR syslog.in.thelinuxpro.net. 71.23 IN PTR es01.in.thelinuxpro.net. 72.23 IN PTR kibana.in.thelinuxpro.net. diff --git a/primary/var/lib/bind/db.in.thelinuxpro.net b/primary/var/lib/bind/db.in.thelinuxpro.net index d89f130..477cc7a 100755 --- a/primary/var/lib/bind/db.in.thelinuxpro.net +++ b/primary/var/lib/bind/db.in.thelinuxpro.net @@ -1,6 +1,6 @@ $TTL 2m @ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. ( - 24062302 ; serial, todays date + todays serial # + 24062501 ; serial, todays date + todays serial # 1h ; refresh, seconds 15m ; retry, seconds 10D ; expire, seconds @@ -32,6 +32,8 @@ prometheus IN A 10.99.23.32 unpoller IN A 10.99.23.33 pihole-exporter IN A 10.99.23.34 blackbox-exporter IN A 10.99.23.35 +influxdb IN A 10.99.23.41 +telegraf IN A 10.99.23.42 syslog IN A 10.99.23.51 es01 IN A 10.99.23.71 kibana IN A 10.99.23.72