Public Repository

Last pushed: a year ago
Short Description
DNS Bind server for Amazon VPC that forwards DNS requests to internal DNS
Full Description

Written by Cohesive Networks (https://cohesive.net)
Source - https://github.com/cohesivenet/dockerfiles/releases/tag/dnsforwardaws-20150804

Launch this image on an instance inside your VPC using host networking:

docker run -d --name dnsforwardaws --net host revpoint/dnsforwardaws

You can now resolve *.ec2.internal from outside the VPC.

$ dig @10.128.11.134 ip-10-128-11-135.ec2.internal

; <<>> DiG 9.8.3-P1 <<>> @10.128.11.134 ip-10-128-11-135.ec2.internal
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63280
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ip-10-128-11-135.ec2.internal.    IN    A

;; ANSWER SECTION:
ip-10-128-11-135.ec2.internal. 20 IN    A    10.128.11.135

;; Query time: 58 msec
;; SERVER: 10.128.11.134#53(10.128.11.134)
;; WHEN: Fri Apr  8 20:18:56 2016
;; MSG SIZE  rcvd: 63

Note: You must already have a VPN connection into your cluster.

Docker Pull Command
Owner
revpoint

Comments (0)