Compare commits

...

2 Commits

Author SHA1 Message Date
Salt 8da2445ccb Try typetransparent zones out 2021-02-27 05:34:15 -06:00
Salt fa6189d81b Quick test at building a local zone 2021-02-27 05:29:00 -06:00
2 changed files with 21 additions and 1 deletions

View File

@ -1,2 +1,2 @@
FROM klutchell/unbound:latest
# TODO: Uh
COPY unbound.conf /opt/unbound/etc/unbound/unbound.conf

View File

@ -0,0 +1,20 @@
# !vim:set ft=conf:
server:
interface: 0.0.0.0@5053
do-ip6: no
do-daemonize: no
access-control: 127.0.0.1/32 allow
access-control: 192.168.0.0/16 allow
access-control: 172.16.0.0/12 allow
access-control: 10.0.0.0/8 allow
auto-trust-anchor-file: /var/run/unbound/root.key
logfile: ""
verbosity: 1
statistics-interval: 600
statistics-cumulative: yes
# include: /opt/unbound/etc/unbound/a-records.conf
local-zone: "desu.ltd." typetransparent
local-data: "pi-kub-master-1.desu.ltd. 3600 IN A 192.168.102.1"
local-data: "pi-kub-node-1.desu.ltd. 3600 IN A 192.168.102.10"
local-data: "pi-kub-node-2.desu.ltd. 3600 IN A 192.168.102.11"
local-data: "pi-kub-node-3.desu.ltd. 3600 IN A 192.168.102.12"