{"id":13825773,"url":"https://github.com/stalkr/dns-reverse-proxy","last_synced_at":"2025-07-08T22:32:10.347Z","repository":{"id":26372312,"uuid":"29821561","full_name":"StalkR/dns-reverse-proxy","owner":"StalkR","description":"DNS Reverse Proxy","archived":false,"fork":false,"pushed_at":"2024-04-28T14:46:03.000Z","size":31,"stargazers_count":180,"open_issues_count":0,"forks_count":45,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-04T09:04:17.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/StalkR/dns-reverse-proxy","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StalkR.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-01-25T16:50:36.000Z","updated_at":"2024-07-21T04:53:04.000Z","dependencies_parsed_at":"2024-04-24T07:02:22.308Z","dependency_job_id":"ad21c5b1-67c2-421a-af2c-d37e8cedcd54","html_url":"https://github.com/StalkR/dns-reverse-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StalkR%2Fdns-reverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StalkR%2Fdns-reverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StalkR%2Fdns-reverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StalkR%2Fdns-reverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StalkR","download_url":"https://codeload.github.com/StalkR/dns-reverse-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225470631,"owners_count":17479366,"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:26.828Z","updated_at":"2024-11-20T04:30:50.620Z","avatar_url":"https://github.com/StalkR.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"01e6651181d405ecdcd92a452989e7e0\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"e9f97504fbd14c8bb4154bd0680e9e62\"\u003e\u003c/a\u003e反向代理"],"readme":"# DNS reverse proxy\n\n[![Build Status][build-img]][build]\n[![Godoc][godoc-img]][godoc]\n\n[build]: https://github.com/StalkR/dns-reverse-proxy/actions/workflows/build.yml\n[build-img]: https://github.com/StalkR/dns-reverse-proxy/actions/workflows/build.yml/badge.svg\n[godoc]: https://godoc.org/github.com/StalkR/dns-reverse-proxy\n[godoc-img]: https://godoc.org/github.com/StalkR/dns-reverse-proxy?status.png\n\nA DNS reverse proxy to route queries to different DNS servers.\nTo illustrate, imagine an HTTP reverse proxy but for DNS.\n\nIt listens on both TCP/UDP IPv4/IPv6 on specified port.\nSince the upstream servers will not see the real client IPs but the proxy,\nyou can specify a list of IPs allowed to transfer (AXFR/IXFR).\n\nExample:\n\n    $ go run dns_reverse_proxy.go -address :53 \\\n        -default 8.8.8.8:53 \\\n        -route .example.com.=8.8.4.4:53 \\\n        -allow-transfer 1.2.3.4,::1\n\nA query for `example.net` or `example.com` will go to `8.8.8.8:53`, the default.\nHowever, a query for `subdomain.example.com` will go to `8.8.4.4:53`. `-default`\nis optional - if it is not given then the server will return a failure for\nqueries for domains where a route has not been given.\n\n# Setup\n\nInstall go package, create Debian package, install:\n\n    $ go get -u github.com/miekg/dns\n    $ go get -u github.com/StalkR/dns-reverse-proxy\n    $ cd $GOPATH/src/github.com/StalkR/dns-reverse-proxy\n    $ fakeroot debian/rules clean binary\n    $ sudo dpkg -i ../dns-reverse-proxy_1-1_amd64.deb\n\nConfigure in `/etc/default/dns-reverse-proxy` and start with\n`/etc/init.d/dns-reverse-proxy start`.\n\n# License\n\n[Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\n# Thanks\n\n- the powerful [github.com/miekg/dns][miekg/dns] Go library by [@miekg][miekg]\n\n[miekg/dns]: https://github.com/miekg/dns\n[miekg]: https://github.com/miekg\n\n# Related\n\n- [github.com/notsobad/dns-reverse-proxy][notsobad] fork with DNS-over-HTTPS\n  routing support and passive DNS standard logging\n\n[notsobad]: https://github.com/notsobad/dns-reverse-proxy\n\n# Bugs, feature requests, questions\n\nCreate a [new issue][new-issue].\n\n[new-issue]: https://github.com/StalkR/dns-reverse-proxy/issues/new\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstalkr%2Fdns-reverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstalkr%2Fdns-reverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstalkr%2Fdns-reverse-proxy/lists"}