Initial release

This commit is contained in:
2026-03-21 23:42:01 +01:00
commit 84a968ed24
7 changed files with 370 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# Copyright 2026 jCloud Services GbR
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM debian:bookworm-slim
WORKDIR /etc/bind
RUN apt-get update && \
apt-get install -y bind9 bind9utils bind9-doc dnsutils && \
rm -rf /var/lib/apt/lists/*
EXPOSE 53/udp
EXPOSE 53/tcp
CMD ["named", "-g", "-c", "/etc/bind/named.conf"]
+15
View File
@@ -0,0 +1,15 @@
options {
directory "/var/cache/bind";
listen-on { any; };
recursion no;
allow-query { any ;};
listen-on-v6 { any; };
};
zone "j-cloud.app" {
type master;
file "/etc/bind/zones/db.j-cloud.app";
};
+10
View File
@@ -0,0 +1,10 @@
$TTL 60
@ IN SOA ns1.j-cloud.app. dnsadmin.j-cloud.app. (
2026032101 ; Serial
3600 ; Refresh
600 ; Retry
86400 ; Expire
300 ) ; Negative Cache TTL
; Nameserver
@ IN NS ns1.j-cloud.app.