{"id":13827036,"url":"https://github.com/bieberg0n/bjdns","last_synced_at":"2026-01-28T16:09:24.528Z","repository":{"id":89048665,"uuid":"44165198","full_name":"bieberg0n/bjdns","owner":"bieberg0n","description":"A dns server which can protect yourself against DNS poisoning in China. / 抗污染 带缓存的dns服务器","archived":false,"fork":false,"pushed_at":"2019-08-29T09:15:38.000Z","size":23283,"stargazers_count":43,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"bjdns3","last_synced_at":"2024-08-04T09:06:12.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bieberg0n.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-10-13T09:15:56.000Z","updated_at":"2023-11-02T02:12:53.000Z","dependencies_parsed_at":"2023-06-13T17:15:57.716Z","dependency_job_id":null,"html_url":"https://github.com/bieberg0n/bjdns","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bieberg0n%2Fbjdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bieberg0n%2Fbjdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bieberg0n%2Fbjdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bieberg0n%2Fbjdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bieberg0n","download_url":"https://codeload.github.com/bieberg0n/bjdns/tar.gz/refs/heads/bjdns3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225481178,"owners_count":17481169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T09:01:48.879Z","updated_at":"2026-01-28T16:09:24.451Z","avatar_url":"https://github.com/bieberg0n.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"295e14c39bf33cd5136be8ced9383746\"\u003e\u003c/a\u003e工具","Python (1887)","Python"],"sub_categories":["\u003ca id=\"3bd67ee9f322e2c85854991c85ed6da0\"\u003e\u003c/a\u003e投毒\u0026\u0026Poisoning"],"readme":"# BJDNS3\n\nBJDNS3 is a simple DNS server which can protect yourself against DNS poisoning for Chinese general user.   \n\n## Usage  \n\n1. Install Python3:\n```\n$ sudo apt install python3 python3-pip\n```\n\n2. Clone:\n```\n$ git clone https://github.com/bieberg0n/bjdns.git\n$ cd bjdns/\n```\n\n3. Install requires:\n```\n$ sudo pip3 install -r requirements.txt\n```\n\n4. Client usage:\n```\n$ ./bjdns3 -h\nUsage:\n  bjdns3 [--debug] [-d \u003cDIRECT_DNS_SERVER\u003e] [-l \u003cLISTEN_IP_PORT\u003e]\n\nExamples:\n  bjdns3 -d \"119.29.29.29\"\n\nOptions:\n  -h --help             Show this screen\n  -d DIRECT_DNS_SERVER  dns server for Chinese host. default: 119.29.29.29, 114.114.114.114\n  -l LISTEN_IP_PORT     listen ip and port. default: 0.0.0.0:53\n  --debug               debug mode\n```\n\nRun:\n```\n$ sudo ./bjdns3\n```\n\n5. Test:\n```\ndig www.twitter.com @127.0.0.1\n```\n\n6. Now you can set your system's dns to \"127.0.0.1\".  \n\n## Thanks\nThe 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.\n\nThe 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.\n\n## License (GNU GPL3.0)  \nCopyright (c) 2017-2019 bjong\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbieberg0n%2Fbjdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbieberg0n%2Fbjdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbieberg0n%2Fbjdns/lists"}