moquist/debian-bind-pounder


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


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

Project Statistics

Sourcerank 2
Repository Size 102 KB
Stars 2
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Matt Oquist

Something wrong with this page? Make a suggestion

Last synced: 2019-04-27 20:34:40 UTC

Login to resync this repository