Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
A container with BIND 9.8.1-P1 configured as a forwarder to AWS VPC DNS (by extracting the +2 DNS IP from AWS metadata).
Installing the image
Click on the Images item in the Container section of the VNS3 menu. Then select
Give the image a Name: e.g.
Paste the URL
https://github.com/cohesivenet/dockerfiles/releases/download/dnsforwardaws-20150804/dnsforwardaws.tar.gz into the Image file url: box.
Running a container
Once the Status of the imported image is Ready then click the
Action button and select
Give the container a Name: e.g.
The Command: is
Make a note of the IP Address given to the container e.g.
Routing traffic to the container
Click on the Firewall item in the Connections section of the VNS3 menu.
Add firewall rules such as:
MACRO_CUST -o eth0 -s 198.51.100.0/28 -j MASQUERADE PREROUTING_CUST -i eth0 -p udp -s 0.0.0.0/0 --dport 53 -j DNAT --to 198.51.100.2:53
198.51.100.2 is the IP of the container once allocated. Then click
Save and activate
The VNS3 manager (and all of its IPs will now work) as a DNS server.