Skip to content

Commit f49a055

Browse files
authored
Docs Update: Introducing DNS Features List (mageddo#609)
* change to symlimk * docs update * configuring features list * setup legend
1 parent 1eec1df commit f49a055

File tree

3 files changed

+141
-119
lines changed

3 files changed

+141
-119
lines changed

README.md

Lines changed: 0 additions & 109 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/content/_index.en.md

docs/content/2-features/_index.en.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,32 @@ title: Features
33
weight: 2
44
pre: "<b>2. </b>"
55
---
6-
## Features
6+
7+
## DNS Features List
8+
9+
* [🟡 Authoritative][1]
10+
* [✅ Recursive][2]
11+
* [❌ Recursion ACL][3]
12+
* ✅ Secondary mode
13+
* [✅ Caching][4]
14+
* [✅ IPv6][7]
15+
* [✅ Wildcard][8]
16+
* [❌ Split horizon][9]
17+
* [❌ DNS over HTTPS][10]
18+
* [❌ DNS over QUIC][11]
19+
* [❓DNSSEC][5]
20+
* [❓TSIG][6]
21+
22+
```
23+
❓ = Unknown
24+
❌ = Not implemented
25+
✅ = Implemented
26+
🟡 = Partially Implemented
27+
```
28+
29+
## Other Features Manual
730

831
{{%children style="li" %}}
9-
* IPV4/IPV6 Support
1032

1133
## Main features use cases
1234

@@ -54,7 +76,7 @@ Name: dps-sample.dev
5476
Address: 192.168.0.254
5577
```
5678

57-
Access the gui by using http://localhost:5380 , see [this link][1].
79+
Access the gui by using http://localhost:5380 , see [this link][12].
5880

5981
## DNS resolution order
6082
**DPS** follow the below order to solve hostnames
@@ -63,4 +85,16 @@ Access the gui by using http://localhost:5380 , see [this link][1].
6385
* Then from local database file
6486
* Then from 3rd configured remote DNS servers
6587

66-
[1]: {{%relref "2-features/gui/_index.md" %}}
88+
89+
[1]: https://en.wikipedia.org/wiki/Name_server#Authoritative_name_server
90+
[2]: https://en.wikipedia.org/wiki/Name_server#Recursive_query
91+
[3]: https://en.wikipedia.org/wiki/Access_control_list
92+
[4]: https://en.wikipedia.org/wiki/Name_server#Caching_name_server
93+
[5]: https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions
94+
[6]: https://en.wikipedia.org/wiki/TSIG
95+
[7]: https://en.wikipedia.org/wiki/IPv6
96+
[8]: https://en.wikipedia.org/wiki/Wildcard_DNS_record
97+
[9]: https://en.wikipedia.org/wiki/Split-horizon_DNS
98+
[10]: https://en.wikipedia.org/wiki/DNS_over_HTTPS
99+
[11]: https://en.wikipedia.org/wiki/DNS_over_QUIC
100+
[12]: {{%relref "2-features/gui/_index.md" %}}

docs/content/_index.en.md

Lines changed: 102 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
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
98
on 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

Comments
 (0)