{"id":51124561,"url":"https://github.com/dvershinin/Nginx-DOH-Module","last_synced_at":"2026-06-25T06:01:28.589Z","repository":{"id":40581495,"uuid":"234181193","full_name":"dvershinin/Nginx-DOH-Module","owner":"dvershinin","description":"Simple Nginx module for serving DNS-over-HTTPS (DOH) requests.","archived":false,"fork":true,"pushed_at":"2022-06-26T19:52:13.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-19T13:50:17.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"themagister/Nginx-DOH-Module","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvershinin.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":"2020-01-15T21:54:55.000Z","updated_at":"2023-02-22T10:12:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dvershinin/Nginx-DOH-Module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvershinin/Nginx-DOH-Module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvershinin%2FNginx-DOH-Module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvershinin%2FNginx-DOH-Module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvershinin%2FNginx-DOH-Module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvershinin%2FNginx-DOH-Module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvershinin","download_url":"https://codeload.github.com/dvershinin/Nginx-DOH-Module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvershinin%2FNginx-DOH-Module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34761847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-25T06:01:23.871Z","updated_at":"2026-06-25T06:01:28.584Z","avatar_url":"https://github.com/dvershinin.png","language":"C","funding_links":[],"categories":["Networking and protocols"],"sub_categories":[],"readme":"Simple Nginx module for serving DNS-over-HTTPS (DOH) requests.\n\nCAVEAT EMPTOR: This module is experimental, even though I have been using it successfully with both Firefox and Curl, there may be undiscovered bugs. Zone transfer is currently not officially supported.\n\nTested with Nginx versions:\n1.16.1 (stable)\n1.17.6\n1.17.7 (mainline).\n\nInstructions for building installing and using Nginx modules can be found at the links below.\n\ndynamic: https://www.nginx.com/resources/wiki/extending/converting/#compiling-dynamic\n\nstatic: https://www.nginx.com/resources/wiki/extending/compiling/\n\nI have included a config file for both building as both a dynamic and static module.\n\nThis module is only allowed to be used in an http location block.\n\nMODULE DIRECTIVES\n\ndoh: (takes no arguments) enable DOH at this location block, default upstream DNS server address is 127.0.0.1, default port is 53, and default timeout is 5 seconds.\n\ndoh_address: (takes 1 argument) sets the address of the upstream DNS server, can be either IPv4 or IPv6.\n\ndoh_port: (takes 1 argument) sets the port to contact the upstream DNS server on (appies to both TCP and UDP connections).\n\ndoh_timeout: (takes 1 argument) sets the timeout in seconds.\n\nEXAMPLES\n\nsimplest use case with upstream DNS server listening on 127.0.0.1 on port 53:\n\n```\nlocation /dns-query { \n\tdoh;\n}\n```\n\nset an upstream address of 127.0.2.1, a port of 5353, and a timeout of 2 seconds:\n\n```\nlocation /dns-query { \n\tdoh;\n\tdoh_address 127.0.2.1;\n\tdoh_port 5353;\n\tdoh_timeout 2;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvershinin%2FNginx-DOH-Module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvershinin%2FNginx-DOH-Module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvershinin%2FNginx-DOH-Module/lists"}