mageddo / dns-proxy-server

Solve your DNS hosts from your docker containers, then from your local configuration, then from internet

Home Page:http://mageddo.github.io/dns-proxy-server/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI help me to keep DPS up to date

Main features

DPS is a lightweight end user (Developers, Server Administrators) DNS server tool which make it easy to develop in systems where one hostname can solve to different IPs based on the configured environment, so you can:

  • Solve hostnames from local configuration database
  • Solve hostnames from docker containers using docker hostname option or HOSTNAMES env
  • Solve hostnames from a list of configured remote DNS servers(as a proxy) if no answer of two above
  • Solve hostnames using wildcards
  • Graphic interface to Create/List/Update/Delete A/CNAME records
  • Solve host machine IP using host.docker hostname
  • Access container by its container name / service name
  • Specify from which network solve container IP

Checkout the full list of features with examples

Basic running it

You can run DPS as native binary downloading the latest binaries releases or via docker looking at Dockerhub images.

Basic running it on Linux or Mac

sudo ./dns-proxy-server

Then you can solve from pre-configured entries (conf/config.json):

$ ping dps-sample.dev
PING dps-sample.dev (192.168.0.254) 56(84) bytes of data.

Also solve Docker containers:

$ docker run --rm --hostname nginx.dev nginx

$ ping nginx.dev
PING nginx.dev (172.17.0.4) 56(84) bytes of data.
64 bytes from 172.17.0.4 (172.17.0.4): icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 172.17.0.4 (172.17.0.4): icmp_seq=2 ttl=64 time=0.022 ms

See complete running it documentation for running on Mac, Windows, Docker, etc. also check the samples to learn by pratice.

Documents

Versioning and Releasing

Please be aware of how DPS controls the releases so you can use the most recent features and updates or prefer to choose the more stable and old builds.

Donation

Help me to keep DPS up to date

Via PayPal

Or via QR code

About

Solve your DNS hosts from your docker containers, then from your local configuration, then from internet

http://mageddo.github.io/dns-proxy-server/

License:Apache License 2.0


Languages

Language:Java 98.6%Language:JavaScript 1.1%Language:Shell 0.2%Language:HTML 0.1%Language:CSS 0.0%Language:Dockerfile 0.0%