add dns for new raspis

This commit is contained in:
Kameron Kenny 2024-04-26 13:18:48 -04:00
parent 079445a03d
commit cec4ac6bac
No known key found for this signature in database
GPG Key ID: E5006629839D2276
4 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM ubuntu/bind9:9.18-22.04_beta FROM ubuntu/bind9:9.18-22.04_beta
LABEL version="20240421.1.1" LABEL version="20240426.1.1"
LABEL description="bind9 primary nameserver" LABEL description="bind9 primary nameserver"
ENV BIND_LIB_DIR=/var/lib/bind ENV BIND_LIB_DIR=/var/lib/bind

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:240423.1 image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240426.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. (
24042003 ; serial 24042601 ; 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
@ -10,6 +10,9 @@ $TTL 3600
IN NS ns2.in.thelinuxpro.net. IN NS ns2.in.thelinuxpro.net.
; ;
51.22 IN PTR pi501 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 61.22 IN PTR pi401
11.23 IN PTR jenkins 11.23 IN PTR jenkins
12.23 IN PTR git 12.23 IN PTR git

View File

@ -1,6 +1,6 @@
$TTL 1H $TTL 1H
@ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. ( @ IN SOA in.thelinuxpro.net. root.in.thelinuxpro.net. (
24042004 ; serial, todays date + todays serial # 24042601 ; serial, todays date + todays serial #
1H ; refresh, seconds 1H ; refresh, seconds
2H ; retry, seconds 2H ; retry, seconds
1D ; expire, seconds 1D ; expire, seconds
@ -20,6 +20,9 @@ ns2 IN A 10.99.153.242
; ;
pi401 IN A 10.99.22.61 pi401 IN A 10.99.22.61
pi501 IN A 10.99.22.51 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 jenkins IN A 10.99.23.11
git IN A 10.99.23.12 git IN A 10.99.23.12