Prepare containers to work on OSX

* copy config files into unbound container
* install vim & tshark in all containers
This commit is contained in:
Sebastian Ziebell 2024-02-01 16:24:39 +01:00
parent e5c373b6da
commit 907f40923d
No known key found for this signature in database
GPG Key ID: 7CFCF2A8E3AE3A09
5 changed files with 17 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:22.04
RUN apt-get update && \
apt-get install -y dnsutils iputils-ping tshark
apt-get install -y dnsutils iputils-ping tshark vim

View File

@ -0,0 +1,2 @@
. 3600000 NS primary.root-server.com.
primary.root-server.com. 3600000 A 172.17.0.2

View File

@ -0,0 +1,9 @@
server:
verbosity: 4
use-syslog: no
interface: 0.0.0.0
access-control: 172.17.0.0/16 allow
root-hints: /etc/unbound/root.hints
remote-control:
control-enable: no

View File

@ -1,4 +1,4 @@
FROM ubuntu:22.04
RUN apt-get update && \
apt-get install -y nsd iputils-ping
apt-get install -y nsd iputils-ping tshark vim

View File

@ -1,4 +1,7 @@
FROM ubuntu:22.04
RUN apt-get update && \
apt-get install -y unbound iputils
apt-get install -y unbound iputils-ping tshark vim
COPY ./files/etc/unbound/unbound.conf /etc/unbound/unbound.conf
COPY ./files/etc/unbound/root.hints /etc/unbound/root.hints