• Stars
    star
    703
  • Rank 62,280 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

graalvm-examples

Java
23
star
2

java-examples

A set of pratical examples of java libraries, frameworks, etc.
Java
19
star
3

bookmark-notes

A simple, lightweight and free notes tool
JavaScript
17
star
4

lubuntu-desktop-tightvncserver

Dockerfile
6
star
5

very-simple-swing-chat

This is a very very simple multiclient chat with a very simple swing interface
Java
6
star
6

curso-gradle

Java
6
star
7

java-native-examples

Some Examples using JNI and JNA
Java
5
star
8

docker-swarm-nginx-reverse-proxy-example

Dockerfile
5
star
9

sparkjava-with-spring-demo

SparkJava with Spring Boot, Spring TX and Spring JDBC Integration
Java
5
star
10

gradle-embed-maven-repo

Resolve your maven dependencies from a standalone embed maven local repository folder(on the project directory for example)
Groovy
5
star
11

mageddo-projects

Java
4
star
12

spring-boot-atomikos-sample

Using Spring Boot + Atomikos for manage Oracle + MySQL
Java
3
star
13

orbada

Java
2
star
14

selenium-automation-example

Java
2
star
15

spring-kafka-spark-samples

Java
1
star
16

spring-jms-example

Java
1
star
17

mocha-sonar-generic-test-coverage

JavaScript
1
star
18

reactjs-examples

CSS
1
star
19

javascript-csv

Automatically exported from code.google.com/p/jquery-csv
JavaScript
1
star
20

go-optional

Turn yours pointers null safe
Go
1
star
21

spring-boot-mvc-jdbc-template

DEPRECATED please see https://github.com/mageddo/java-examples/tree/master/spring-boot-jdbc
Java
1
star
22

json-unit-mocker

Json Unit Mocker is simple tool that read in the classpath (or in the specified path) JSON files and convert it to objects that you will can use in yours unit and integration tests as object
Java
1
star
23

mustache-layout

A mustache template engine with layout architecture
JavaScript
1
star
24

simple-java-maven-webapp

A simple Java Servlet Application configured with Maven and Annotations without xml, run in jetty, tomcat, jboss and glassfish
Java
1
star