{"id":16272312,"url":"https://github.com/ventz/docker-dns-over-https","last_synced_at":"2025-09-16T17:32:37.931Z","repository":{"id":70234191,"uuid":"75037885","full_name":"ventz/docker-dns-over-https","owner":"ventz","description":"Docker Hub ventz/dns-over-https - DNS (tcp+udp 53) to CloudFlare and Google's HTTPS APIs","archived":false,"fork":false,"pushed_at":"2020-02-22T06:07:21.000Z","size":7,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T13:12:56.879Z","etag":null,"topics":["api","dns","dns-over-https","https","proxy","security"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/ventz/dns-over-https/","language":"Perl","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/ventz.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-29T03:09:53.000Z","updated_at":"2024-08-14T17:01:57.000Z","dependencies_parsed_at":"2023-06-14T22:00:30.645Z","dependency_job_id":null,"html_url":"https://github.com/ventz/docker-dns-over-https","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/ventz%2Fdocker-dns-over-https","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-dns-over-https/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-dns-over-https/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-dns-over-https/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ventz","download_url":"https://codeload.github.com/ventz/docker-dns-over-https/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233283745,"owners_count":18652862,"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":["api","dns","dns-over-https","https","proxy","security"],"created_at":"2024-10-10T18:17:15.226Z","updated_at":"2025-09-16T17:32:32.647Z","avatar_url":"https://github.com/ventz.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is \"DNS over HTTPS\"\n\n## Last Updated: 2-22-2020\n\nA very small (268 MB) and lightweight DNS server which responds to standard DNS (see supported resource records) queries on the front-end via tcp+udp 53, and it looks them up via HTTPS on the back-end, using one of two choices:\n\n1.) Cloud Flare's HTTPS DNS API:\nhttps://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/\n\nor\n\n2.) Google's HTTPS DNS API:\nhttps://developers.google.com/speed/public-dns/docs/dns-over-https\n\n\nIt then responds to the query via standard DNS responses, which makes it viable\nfor using things like dig/host, and even pointing your system's\n/etc/resolv.conf\n\n# How to run the \"DNS over HTTPS\":\n\nYou have two choices for the backend:\n\n1.) (default) CloudFlare\n\n```\ndocker run -it -d \\\n    --restart=always \\\n    -p 53:53/udp \\\n    -p 53:53 \\\nventz/dns-over-https\n```\n\nor\n\n2.) Google\n```\ndocker run -it -d \\\n    --restart=always \\\n    -p 53:53/udp \\\n    -p 53:53 \\\nventz/dns-over-https google\n```\n\n# How to run the \"DNS over HTTPS\" with IPv6 support?\n\nYou can add '6' as a second parameter after the now required backend provider input:\n\n1.) CloudFlare IPv6 Support:\n```\ndocker run -it -d \\\n    --restart=always \\\n    -p 53:53/udp \\\n    -p 53:53 \\\nventz/dns-over-https cloudflare 6\n```\n\nor\n\n2.) Google IPv6 Support:\n```\ndocker run -it -d \\\n    --restart=always \\\n    -p 53:53/udp \\\n    -p 53:53 \\\nventz/dns-over-https google 6\n```\n\n\n# How to use it?\nAfter you run the service (see above: \"DNS over HTTPS\"), you can manually test:\n\n```\ndig cnn.com @DOCKER-CONTAINER-IP-ADDRESS\n```\nor\n```\ndig -x 207.241.224.2 @DOCKER-CONTAINER-IP-ADDRESS\n```\n\nOr, you can even point your /etc/resolv.conf to:\n```\nnameserver DOCKER-CONTAINER-IP-ADDRESS\n```\n\n# Supported Resource Record Types:\n\n* A\n* AAAA\n* CNAME\n* PTR\n* NS\n* SRV\n* TXT\n* SPF\n\nIt is *extremely* easy to add additional resource records.\n\nIf you need to add a new one, first find the value for it:\nhttps://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4\n\nOnce you have the type and value, find the line in `entrypoint.pl` that looks like this:\n```\nelsif($qtype == 99) { $qtype = 'SPF'; }\n```\n\nand simply add another one for your new resource record.\n\nFor example, to add `LOC` (which is # 29), you would add:\n```\nelsif($qtype == 29) { $qtype = 'LOC'; }\n```\n\n\nLook up type you want and the value number (ex: \n\n# Help/Questions/Comments:\nFor help or more info, please open a GitHub [issue](https://github.com/ventz/docker-dns-over-https/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventz%2Fdocker-dns-over-https","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventz%2Fdocker-dns-over-https","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventz%2Fdocker-dns-over-https/lists"}