Simplified Dnsdock written in java with up to date docker client and improved container host names resolution. The container will only resolve hostname ending with .docker and does not support DNS requests forwarding.
to run simply do:
mvn clean install
and execute with
/usr/bin/docker run -v /var/run/docker.sock:/var/run/docker.sock --name dnsdock -p 172.17.0.1:53:53/udp dnsdock-java:1.0.0-SNAPSHOT
you can see the list of mapped hosts/ip by calling http://dnsdock.docker/services