{"id":36455831,"url":"https://github.com/mpdroog/dnsleak","last_synced_at":"2026-01-11T23:03:22.260Z","repository":{"id":52033801,"uuid":"125501141","full_name":"mpdroog/dnsleak","owner":"mpdroog","description":"DNS Leak testing","archived":false,"fork":false,"pushed_at":"2018-03-27T08:56:34.000Z","size":23,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-20T03:03:23.729Z","etag":null,"topics":["cors","dns","geoip2","leak","letsencrypt","spyoff","systemd-service"],"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/mpdroog.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}},"created_at":"2018-03-16T10:27:27.000Z","updated_at":"2024-10-25T15:31:09.000Z","dependencies_parsed_at":"2022-08-19T21:50:49.026Z","dependency_job_id":null,"html_url":"https://github.com/mpdroog/dnsleak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpdroog/dnsleak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdroog%2Fdnsleak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdroog%2Fdnsleak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdroog%2Fdnsleak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdroog%2Fdnsleak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpdroog","download_url":"https://codeload.github.com/mpdroog/dnsleak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdroog%2Fdnsleak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cors","dns","geoip2","leak","letsencrypt","spyoff","systemd-service"],"created_at":"2026-01-11T23:03:21.529Z","updated_at":"2026-01-11T23:03:22.253Z","avatar_url":"https://github.com/mpdroog.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![SpyOFF](https://github.com/mpdroog/dnsleak/blob/master/web/spyoff.svg)\n\nDNSleak\n==================\nSmall DNS-server that catches requests and offers origins through HTTP(s) API.\n\nWhat is used?\n- LetsEncrypt to offer easy HTTPS-requests\n- CORS-headers are added to cross-domain do AJAX-requests\n- ISP/Country lookup through Maxmind's GeoIP\n\nHow to use?\n- Point A-record to this node i.e. ns-dnstest.spyoff.com\n- Point NS-record to this node i.e. dnstest.spyoff.com\n- POST https://ns-dnstest.spyoff.com/dns/leaktest\n IN: `{domain: [\"4eb4b123bbd72478a29bff21cd00f48722b704ce.dnstest.spyoff.com\"]}`\n OUT: `{\"15169\":{\"ISP\":\"Google LLC\",\"Country\":\"US\",\"IP\":\"172.217.40.8\"}`\n\nArguments\n```bash\n./dnsleak --help\nUsage of ./dnsleak:\n  -d string\n    \tDNS listen on (both tcp and udp) (default \"[::]:53\")\n  -h string\n    \tHTTP listen on (default \"[::]:80\")\n  -m string\n    \tHTTPS-domain (LetsEncrypt) (default \"ns-dnstest.spyoff.com\")\n  -s string\n    \tHTTPS listen on (default \"[::]:443\")\n  -v\tVerbose-mode (log more)\n```\n\nTool created for [SpyOFF](https://spyoff.com/dns-leak-test/?a_aid=11108\u0026a_bid=02dc3d81)\n\nInstall\n```bash\n# User + systemd\nuseradd -r dnsleak\nmkdir -p /home/dnsleak\nvi /etc/systemd/system/dnsleak.service\n# Systemd file below...\n\nchmod 644 /etc/systemd/system/dnsleak.service\nsystemctl daemon-reload\nsystemctl enable dnsleak\nsystemctl start dnsleak\n\n# MaxMind GeoIP\nvi /etc/cron.d/dnsleak-geo\n# @daily dnsleak /home/dnsleak/geoip.sh\nmkdir -p /tmp/geoip\nchown dnsleak:dnsleak -R /tmp/geoip\n```\n\n/etc/systemd/system/dnsleak.service\n```\n[Unit]\nDescription=DNS Leak tester by faking a DNS-server\nAfter=network.target\nRequires=network.target\n\n[Service]\nLimitNOFILE=8192\nType=notify\n\nRestart=always\nRestartSec=30\nTimeoutStartSec=0\n\nWorkingDirectory=/home/dnsleak\nExecStart=/home/dnsleak/dnsleak\nUser=dnsleak\nGroup=dnsleak\n\nCapabilityBoundingSet=CAP_NET_BIND_SERVICE\nAmbientCapabilities=CAP_NET_BIND_SERVICE\nNoNewPrivileges=true\n\n[Install]\nWantedBy=multi-user.target\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdroog%2Fdnsleak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpdroog%2Fdnsleak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdroog%2Fdnsleak/lists"}