From 7386aa10c286992e79b2d97999a38ba46279ecb8 Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Sun, 12 Jan 2025 11:21:09 -0500 Subject: [PATCH] sensors api --- docker-compose.yml | 2 +- primary/var/lib/bind/db.10.99 | 3 ++- primary/var/lib/bind/db.in.thelinuxpro.net | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 38192d7..9f10cb6 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:250109.0.1 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:250112.0.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 015fe9c..39beee8 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. ( - 25010901 ; serial + 25011201 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week @@ -36,5 +36,6 @@ $TTL 3600 75.23 IN PTR logstash01.in.thelinuxpro.net. 99.23 IN PTR viz.in.thelinuxpro.net. 100.23 IN PTR random.in.thelinuxpro.net. +111.23 IN PTR sensors.in.thelinuxpor.net. 241.153 IN PTR ns1.in.thelinuxpro.net. 242.153 IN PTR ns2.in.thelinuxpro.net. diff --git a/primary/var/lib/bind/db.in.thelinuxpro.net b/primary/var/lib/bind/db.in.thelinuxpro.net index 5dd3d89..5f9da0e 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. ( - 25010901 ; serial, todays date + todays serial # + 25011201 ; serial, todays date + todays serial # 1h ; refresh, seconds 15m ; retry, seconds 10D ; expire, seconds @@ -45,6 +45,7 @@ filebeat01 IN A 10.99.23.74 logstash01 IN A 10.99.23.75 viz IN A 10.99.23.99 random IN A 10.99.23.100 +sensors IN A 10.99.23.111 ; pihole IN A 10.200.53.250 1.ntp IN A 10.200.53.251