Initial release
This commit is contained in:
@@ -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"]
|
||||
@@ -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";
|
||||
};
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user