Skip to content

moquist/debian-bind-pounder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. vagrant
  2. virtualbox
  3. docker

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 and vmfiles/bind-conf/in-addr.arpa.zone

Usage

  1. clone this repo
  2. cd into the repo dir
  3. vagrant up
  4. This will take some time, more/less depending on your bandwidth and system. It takes about 90 seconds on my system.
  5. When it's finished, dig @localhost -p60053 one-four.
  6. echo 'luggage-combo A 9.8.7.6' >> vmfiles/bind-conf/fw.zone
  7. echo '6.7.8.9 PTR luggage.combo.' >> vmfiles/bind-conf/in-addr.arpa.zone
  8. docker -H tcp://localhost:62375 kill -s HUP $(docker -H tcp://localhost:62375 ps -q)
  9. dig @localhost -p60053 luggage-combo
  10. dig @localhost -p60053 -x 9.8.7.6

About

Stand up bind in docker in virtualbox via vagrant, so that you can pound it with DNS queries for fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published