{"id":16895939,"url":"https://github.com/stevenacoffman/localdevdnshttp3","last_synced_at":"2026-04-17T13:31:58.654Z","repository":{"id":248051159,"uuid":"827616478","full_name":"StevenACoffman/localdevdnshttp3","owner":"StevenACoffman","description":"Local DNS Proxy for HTTP3 Local development","archived":false,"fork":false,"pushed_at":"2024-07-12T03:09:43.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-25T21:00:19.467Z","etag":null,"topics":["dns-server","http3-server","local-development"],"latest_commit_sha":null,"homepage":"","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/StevenACoffman.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":"2024-07-12T02:53:58.000Z","updated_at":"2024-07-12T03:09:46.000Z","dependencies_parsed_at":"2024-07-12T04:25:30.128Z","dependency_job_id":"b80a052a-6047-4ea1-a55a-30ebc79086ca","html_url":"https://github.com/StevenACoffman/localdevdnshttp3","commit_stats":null,"previous_names":["stevenacoffman/localdevdnshttp3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StevenACoffman/localdevdnshttp3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Flocaldevdnshttp3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Flocaldevdnshttp3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Flocaldevdnshttp3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Flocaldevdnshttp3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StevenACoffman","download_url":"https://codeload.github.com/StevenACoffman/localdevdnshttp3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StevenACoffman%2Flocaldevdnshttp3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31931283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: 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":["dns-server","http3-server","local-development"],"created_at":"2024-10-13T17:27:07.332Z","updated_at":"2026-04-17T13:31:58.637Z","avatar_url":"https://github.com/StevenACoffman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### local dev dns for http3\n\nRun a local DNS on UDP 127.0.0.1:8353 so you can use HTTP3 for local development.\n\nThis will respond to `http3.dev` DNS Queries with the appropriate DNS A, AAAA, SVCB, and HTTPS records for IP4/IP6 loopback address (localhost).\n\nAll other DNS requests made will be proxied to cloudflare 1.1.1.1 over TLS. Code works, but is terrible.\n\n### What? Why?\n\nWhen you want to run HTTP/3 (QUIC) server over UDP locally, you don't want your client to first make a useless request with TCP\nto get the `alt-svc` header to retry it with UDP.\n\nDNS SVCB or HTTPS records (they seem identical to me?) provide a signal so that when your browser asks DNS “where’s the example.com server?” the response mentions “oh BTW it supports HTTP/3” and so the browser goes straight to https://example.com over HTTP/3. Otherwise, first-time visitors will commonly go to http://example.com over HTTP/1.1, and then be redirected to https://example.com over HTTP/1.1 or HTTP/2 (negotiated at TLS handshake time), and only use HTTP/3 on subsequent visits.\n\nFor local dev, I don't want to bother running HTTP/2 on TCP.\n\nhttps://blog.cloudflare.com/speeding-up-https-and-http-3-negotiation-with-dns/\n\nIf you are on a mac, and you install [ldns](https://github.com/NLnetLabs/ldns), you can test out this DNS proxy.\n```\nbrew install ldns\ndrill -p 8353 @127.0.0.1 HTTPS http3.dev\n```\nShould give you this line:\n```\nhttp3.dev 3600 IN HTTPS 1 . alpn=\"h3,h2\" ipv4hint=\"127.0.0.1\" ipv6hint=\"::1\"\n```\n\nIf you use dig:\n```\ndig -p 8353 @127.0.0.1 http3.dev -t TYPE65\n```\nWill give you the less helpful RFC3597 encoded format of the answer:\n```\nhttp3.dev.\t\t3600\tIN\tTYPE65\t\\# 41 00010000010006026833026832000400047F00000100060010000000 00000000000000000000000001\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenacoffman%2Flocaldevdnshttp3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenacoffman%2Flocaldevdnshttp3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenacoffman%2Flocaldevdnshttp3/lists"}