{"id":13844834,"url":"https://github.com/ustclug/neatdns","last_synced_at":"2025-04-06T23:17:40.795Z","repository":{"id":50725974,"uuid":"72125194","full_name":"ustclug/neatdns","owner":"ustclug","description":"anti-pollution DNS server","archived":false,"fork":false,"pushed_at":"2023-11-09T15:08:41.000Z","size":238,"stargazers_count":288,"open_issues_count":1,"forks_count":42,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-30T21:09:33.329Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ustclug.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}},"created_at":"2016-10-27T16:06:25.000Z","updated_at":"2025-03-05T11:19:34.000Z","dependencies_parsed_at":"2023-11-09T16:25:38.802Z","dependency_job_id":"2b1f014b-7871-4a6f-9d88-5f9120c169df","html_url":"https://github.com/ustclug/neatdns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Fneatdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Fneatdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Fneatdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Fneatdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ustclug","download_url":"https://codeload.github.com/ustclug/neatdns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563941,"owners_count":20958971,"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-04T17:02:58.733Z","updated_at":"2025-04-06T23:17:40.773Z","avatar_url":"https://github.com/ustclug.png","language":"Shell","funding_links":[],"categories":["Shell (473)","Shell"],"sub_categories":[],"readme":"# Neat DNS\n\nan anti-pollution DNS server\n\nIncluding the following software:\n\n* bind\n\n## Deployment\n\n```shell\ndocker run -itd \\\n\t--name=neatdns \\\n\t-p 53:53/tcp \\\n\t-p 53:53/udp \\\n\t-p 443:443/tcp \\\n\t-p 443:443/udp \\\n\t--cap-add=NET_ADMIN \\\n\tustclug/neatdns:bind9\n```\n\nP.S. you should install [docker](https://www.docker.com) first.\n\nAvailable environment variables:\n\n| Name              | Implication                              | Default Value               |\n| ----------------- | ---------------------------------------- | --------------------------- |\n| GLOBAL_DNS1       | preferred DNS server to resolve non-China website | 8.8.4.4                     |\n| GLOBAL_DNS2       | alternate DNS server to resolve non-China website | 8.8.8.8                     |\n| CHINA_DNS1        | preferred DNS server to resolve China website | 119.29.29.29                |\n| CHINA_DNS2        | alternate DNS server to resolve China website | 223.5.5.5                   |\n| FAIL2BAN_ON       | auto-start fail2ban                      | true                        |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fustclug%2Fneatdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fustclug%2Fneatdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fustclug%2Fneatdns/lists"}