1- ---
2- title : " Getting Started"
3- ---
1+ [ ![ CI] ( https://github.com/mageddo/dns-proxy-server/actions/workflows/ci.yml/badge.svg )] ( https://github.com/mageddo/dns-proxy-server/actions/workflows/ci.yml )
2+ [ ![ help me to keep DPS up to date] [ 7 ]] [ 6 ]
43
54### Main features
65
@@ -9,13 +8,110 @@ which make it easy to develop in systems where one hostname can solve to differe
98on the configured environment, so you can:
109
1110* Solve hostnames from local configuration database
12- * Solve hostnames from [ docker containers] [ 1 ]
11+ * Solve hostnames from [ docker containers] [ 11 ]
1312* Solve hostnames from a list of configured remote DNS servers(as a proxy) if no answer of two above
1413* Solve hostnames using wildcards
1514* Graphic interface to Create/List/Update/Delete ** A/CNAME** records
1615* Solve host machine IP using ` host.docker ` hostname
1716
1817
19- ![ ] ( https://i.imgur.com/aR9dl0O.png?width=60pc )
18+ Checkout the [ full list of features ] [ 4 ] with examples
2019
21- [ 1] : {{%relref "2-features/docker-solving/_ index.md" %}}
20+ ![ ] ( https://i.imgur.com/aR9dl0O.png )
21+
22+ ### Basic running it
23+
24+ You can run DPS as native binary downloading the latest [ binaries releases] [ 2 ]
25+ or via docker looking at [ Dockerhub images] [ 3 ] . See [ complete running it] [ 5 ] documentation for running on
26+ Mac, Windows, Docker, etc.
27+
28+ Basic running it on Linux or Mac
29+
30+ ``` bash
31+ sudo ./dns-proxy-server --server-port 5555 --register-container-names
32+ ```
33+
34+ Solving docker container [ from container name] [ 11 ]
35+ ``` bash
36+ $ docker run --rm --name nginx-app nginx
37+
38+ $ nslookup -po=5555 nginx-app.docker 127.0.0.1
39+ 172.17.0.3
40+ ```
41+
42+ Solving docker container from hostname
43+ ``` bash
44+ $ docker run --rm --hostname nginx.dev nginx
45+
46+ $ nslookup -po=5555 nginx.dev 127.0.0.1
47+ 172.17.0.3
48+ ```
49+
50+ Solving from pre-configured entries (conf/config.json):
51+ ``` bash
52+ $ nslookup -po=5555 dps-sample.dev 127.0.0.1
53+ 192.168.0.254
54+ ```
55+
56+ Solving from Internet
57+ ``` bash
58+ $ nslookup -po=5555 google.com 127.0.0.1
59+ 142.250.79.174
60+ ```
61+
62+ Solving stub hostnames like nip.io or sslip.io
63+ ``` bash
64+ $ nslookup -po=5555 machine-1.192.168.0.1.stub 127.0.0.1
65+ 192.168.0.1
66+ ```
67+
68+ Solving host machine IP
69+ ``` bash
70+ $ nslookup -po=5555 host.docker 127.0.0.1
71+ 172.22.230.67
72+ ```
73+
74+ Solving all subdomains to a specific docker container
75+
76+ ``` bash
77+ $ docker run --rm --hostname .nginx.dev nginx
78+
79+ $ nslookup -po=5555 site1.nginx.dev 127.0.0.1
80+ 172.17.0.3
81+ ```
82+
83+ Check more [ samples] [ 9 ] to learn by practice.
84+
85+ ### Documents
86+ * [ Full documentation] ( http://mageddo.github.io/dns-proxy-server/ )
87+ * [ Running it documentation] [ 5 ]
88+ * [ Tutorials and Examples] [ 9 ]
89+ * [ Coding at the DPS] [ 10 ]
90+ * [ RFC-1035] [ 1 ]
91+
92+ ### Versioning and Releasing
93+ Please be aware of [ how DPS controls the releases] [ 8 ] so you can use the most recent features and updates or
94+ prefer to choose the more stable and old builds.
95+
96+ ### Donation
97+ Help me to keep DPS up to date
98+
99+ Via PayPal
100+
101+ [ ![ ] [ 7 ]] [ 6 ]
102+
103+ Or via QR code
104+
105+ ![ ] ( https://i.imgur.com/LmN7g2j.png )
106+
107+ [ 1 ] : https://www.ietf.org/rfc/rfc1035.txt
108+ [ 2 ] : https://github.com/mageddo/dns-proxy-server/releases
109+ [ 3 ] : https://hub.docker.com/r/defreitas/dns-proxy-server
110+ [ 4 ] : http://mageddo.github.io/dns-proxy-server/latest/en/2-features/
111+ [ 5 ] : http://mageddo.github.io/dns-proxy-server/latest/en/1-getting-started/running-it/
112+ [ 6 ] : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PYFAZCXL442B6&source=url
113+ [ 7 ] : https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif
114+ [ 8 ] : http://mageddo.github.io/dns-proxy-server/latest/en/1-getting-started/versioning
115+ [ 9 ] : http://mageddo.github.io/dns-proxy-server/latest/en/5-tutorials/
116+ [ 10 ] : http://mageddo.github.io/dns-proxy-server/latest/en/4-developing/
117+ [ 11 ] : https://mageddo.github.io/dns-proxy-server/latest/en/2-features/docker-solving/
0 commit comments