{"id":13775804,"url":"https://github.com/netxfly/xsec-dns-proxy","last_synced_at":"2025-04-14T12:31:09.363Z","repository":{"id":81774516,"uuid":"100335611","full_name":"netxfly/xsec-dns-proxy","owner":"netxfly","description":"DNS代理服务器，可以记录log到数据库中","archived":false,"fork":false,"pushed_at":"2017-08-15T13:39:52.000Z","size":8,"stargazers_count":84,"open_issues_count":3,"forks_count":33,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T01:50:30.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netxfly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-08-15T03:39:51.000Z","updated_at":"2024-11-22T06:26:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c48aef93-fa58-4cf2-a12d-48ebabb36b49","html_url":"https://github.com/netxfly/xsec-dns-proxy","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/netxfly%2Fxsec-dns-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fxsec-dns-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fxsec-dns-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netxfly%2Fxsec-dns-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netxfly","download_url":"https://codeload.github.com/netxfly/xsec-dns-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881417,"owners_count":21176851,"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-03T17:01:50.553Z","updated_at":"2025-04-14T12:31:09.012Z","avatar_url":"https://github.com/netxfly.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具","Go","Go (531)"],"sub_categories":["\u003ca id=\"6381920f17576b07cc87a8dc619123aa\"\u003e\u003c/a\u003eDNS"],"readme":"## xsec-dns-server\n\nxsec dns proxy server为一个DNS代理服务器，可以将DNS请求代理到后端的DNS服务器中，在代理的过程中会将dns log写入到数据库中。\n\n### 主要特性如下：\n\n1. 代理DNS请求并记录请求数据\n1. 后端支持 sqlite、postgres、mysql和mongodb四种数据库\n\n### 使用说明：\n\n```shell\n$ ./xsec-dns-server \n[xorm] [info]  2017/08/15 11:01:24.497380 PING DATABASE mysql\nNAME:\n   xsec dns proxy server - xsec dns proxy server\n\nUSAGE:\n   xsec-dns-server [global options] command [command options] [arguments...]\n   \nVERSION:\n   0.1\n   \nCOMMANDS:\n     serve    dns proxy Server\n     web      web server\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h     show help\n   --version, -v  print the version\n\n```\n\n- serve参数表示启动一个dns代理服务器\n- web 参数表示启动一个简单WEB服务器，用来查看dns日志。\n\n### 运行截图\n\n![](https://docs.xsec.io/images/serve.png)\n\n![](https://docs.xsec.io/images/web.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetxfly%2Fxsec-dns-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetxfly%2Fxsec-dns-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetxfly%2Fxsec-dns-proxy/lists"}