Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bieberg0n/bjdns
A dns server which can protect yourself against DNS poisoning in China. / 抗污染 带缓存的dns服务器
https://github.com/bieberg0n/bjdns
Last synced: 3 months ago
JSON representation
A dns server which can protect yourself against DNS poisoning in China. / 抗污染 带缓存的dns服务器
- Host: GitHub
- URL: https://github.com/bieberg0n/bjdns
- Owner: bieberg0n
- License: gpl-3.0
- Created: 2015-10-13T09:15:56.000Z (about 9 years ago)
- Default Branch: bjdns3
- Last Pushed: 2019-08-29T09:15:38.000Z (about 5 years ago)
- Last Synced: 2024-04-24T13:41:18.557Z (6 months ago)
- Language: Python
- Homepage:
- Size: 22.2 MB
- Stars: 43
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - bieberg0n/bjdns - A dns server which can protect yourself against DNS poisoning in China. / 抗污染 带缓存的dns服务器 (Python)
- awesome-network-stuff - **44**星
README
# BJDNS3
BJDNS3 is a simple DNS server which can protect yourself against DNS poisoning for Chinese general user.
## Usage
1. Install Python3:
```
$ sudo apt install python3 python3-pip
```2. Clone:
```
$ git clone https://github.com/bieberg0n/bjdns.git
$ cd bjdns/
```3. Install requires:
```
$ sudo pip3 install -r requirements.txt
```4. Client usage:
```
$ ./bjdns3 -h
Usage:
bjdns3 [--debug] [-d ] [-l ]Examples:
bjdns3 -d "119.29.29.29"Options:
-h --help Show this screen
-d DIRECT_DNS_SERVER dns server for Chinese host. default: 119.29.29.29, 114.114.114.114
-l LISTEN_IP_PORT listen ip and port. default: 0.0.0.0:53
--debug debug mode
```Run:
```
$ sudo ./bjdns3
```5. Test:
```
dig www.twitter.com @127.0.0.1
```6. Now you can set your system's dns to "127.0.0.1".
## Thanks
The file **whitelist.json** is modified from the file in [breakwa11](https://github.com/breakwa11)'s [gfw_whitelist](https://github.com/breakwa11/gfw_whitelist) project. The project uses [MIT](https://github.com/breakwa11/gfw_whitelist/blob/master/LICENSE) license.The file **gfwlist.txt** is from [gfwlist](https://github.com/gfwlist/gfwlist) .The project uses [LGPL-2.1](https://github.com/gfwlist/gfwlist/blob/master/COPYING.txt) license.
## License (GNU GPL3.0)
Copyright (c) 2017-2019 bjong