debian-bind-pounder
This project stands up bind inside docker inside virtualbox via vagrant, forwarding the following ports:
- localhost:60053/udp is forwarded to bind
- localhost:62375/tcp is forwarded to docker in the VM
Dependencies
Configuration
- bind is configured by
vmfiles/bind-conf/named.conf
- bind is configured (by default) to serve only the records included in
vmfiles/bind-conf/fw.zone
andvmfiles/bind-conf/in-addr.arpa.zone
Usage
- clone this repo
-
cd
into the repo dir vagrant up
- This will take some time, more/less depending on your bandwidth and system. It takes about 90 seconds on my system.
- When it's finished,
dig @localhost -p60053 one-four
. echo 'luggage-combo A 9.8.7.6' >> vmfiles/bind-conf/fw.zone
echo '6.7.8.9 PTR luggage.combo.' >> vmfiles/bind-conf/in-addr.arpa.zone
docker -H tcp://localhost:62375 kill -s HUP $(docker -H tcp://localhost:62375 ps -q)
dig @localhost -p60053 luggage-combo
dig @localhost -p60053 -x 9.8.7.6