Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ustclug/neatdns
anti-pollution DNS server
https://github.com/ustclug/neatdns
Last synced: 7 days ago
JSON representation
anti-pollution DNS server
- Host: GitHub
- URL: https://github.com/ustclug/neatdns
- Owner: ustclug
- License: mit
- Created: 2016-10-27T16:06:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-09T15:08:41.000Z (about 1 year ago)
- Last Synced: 2024-11-21T17:42:42.069Z (22 days ago)
- Language: Shell
- Size: 232 KB
- Stars: 286
- Watchers: 24
- Forks: 45
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - ustclug/neatdns - anti-pollution DNS server (Shell)
README
# Neat DNS
an anti-pollution DNS server
Including the following software:
* bind
## Deployment
```shell
docker run -itd \
--name=neatdns \
-p 53:53/tcp \
-p 53:53/udp \
-p 443:443/tcp \
-p 443:443/udp \
--cap-add=NET_ADMIN \
ustclug/neatdns:bind9
```P.S. you should install [docker](https://www.docker.com) first.
Available environment variables:
| Name | Implication | Default Value |
| ----------------- | ---------------------------------------- | --------------------------- |
| GLOBAL_DNS1 | preferred DNS server to resolve non-China website | 8.8.4.4 |
| GLOBAL_DNS2 | alternate DNS server to resolve non-China website | 8.8.8.8 |
| CHINA_DNS1 | preferred DNS server to resolve China website | 119.29.29.29 |
| CHINA_DNS2 | alternate DNS server to resolve China website | 223.5.5.5 |
| FAIL2BAN_ON | auto-start fail2ban | true |