From cec4ac6bacbc1e9259903598e44321da3275577d Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Fri, 26 Apr 2024 13:18:48 -0400 Subject: [PATCH] add dns for new raspis --- Dockerfile.primary | 2 +- docker-compose.yml | 2 +- primary/var/lib/bind/db.10.99 | 5 ++++- primary/var/lib/bind/db.in.thelinuxpro.net | 5 ++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Dockerfile.primary b/Dockerfile.primary index 69866db..347d8be 100644 --- a/Dockerfile.primary +++ b/Dockerfile.primary @@ -1,6 +1,6 @@ FROM ubuntu/bind9:9.18-22.04_beta -LABEL version="20240421.1.1" +LABEL version="20240426.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 360f936..995498e 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:240423.1 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240426.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 1fd07e7..6fce2ab 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. ( - 24042003 ; serial + 24042601 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week @@ -10,6 +10,9 @@ $TTL 3600 IN NS ns2.in.thelinuxpro.net. ; 51.22 IN PTR pi501 +52.22 IN PTR pi502 +53.22 IN PTR pi503 +54.22 IN PTR pi504 61.22 IN PTR pi401 11.23 IN PTR jenkins 12.23 IN PTR git diff --git a/primary/var/lib/bind/db.in.thelinuxpro.net b/primary/var/lib/bind/db.in.thelinuxpro.net index 6890e95..1c48f9b 100755 --- a/primary/var/lib/bind/db.in.thelinuxpro.net +++ b/primary/var/lib/bind/db.in.thelinuxpro.net @@ -1,6 +1,6 @@ $TTL 1H @ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. ( - 24042004 ; serial, todays date + todays serial # + 24042601 ; serial, todays date + todays serial # 1H ; refresh, seconds 2H ; retry, seconds 1D ; expire, seconds @@ -20,6 +20,9 @@ ns2 IN A 10.99.153.242 ; pi401 IN A 10.99.22.61 pi501 IN A 10.99.22.51 +pi502 IN A 10.99.22.52 +pi503 IN A 10.99.22.53 +pi504 IN A 10.99.22.54 ; jenkins IN A 10.99.23.11 git IN A 10.99.23.12