Update
This commit is contained in:
parent
04b6b7e4fe
commit
e0b6f6bac8
15
dns/Dockerfile
Normal file
15
dns/Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y \
|
||||||
|
bind9 \
|
||||||
|
vim \
|
||||||
|
nano \
|
||||||
|
dnsutils \
|
||||||
|
tcpdump \
|
||||||
|
traceroute \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
COPY start.sh /start.sh
|
||||||
|
EXPOSE 53
|
||||||
|
CMD ["/bin/sh", "/start.sh"]
|
2
dns/build.sh
Executable file
2
dns/build.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
sudo docker build -t pierre42100/gns3-appliance-dns .
|
3
dns/start.sh
Normal file
3
dns/start.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/usr/sbin/named
|
||||||
|
while true; do /bin/bash; done
|
Loading…
Reference in New Issue
Block a user