{"id":21971155,"url":"https://github.com/squiddy/dns-in-a-weekend","last_synced_at":"2025-10-09T12:14:25.009Z","repository":{"id":205844921,"uuid":"714744786","full_name":"squiddy/dns-in-a-weekend","owner":"squiddy","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-07T18:21:15.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T12:14:24.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/squiddy.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":"2023-11-05T18:31:07.000Z","updated_at":"2023-11-06T18:20:31.000Z","dependencies_parsed_at":"2023-11-07T01:53:43.405Z","dependency_job_id":"507b62e4-5511-4ae1-98f2-e1bd385e03ef","html_url":"https://github.com/squiddy/dns-in-a-weekend","commit_stats":null,"previous_names":["squiddy/dns-in-a-weekend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squiddy/dns-in-a-weekend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squiddy%2Fdns-in-a-weekend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squiddy%2Fdns-in-a-weekend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squiddy%2Fdns-in-a-weekend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squiddy%2Fdns-in-a-weekend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squiddy","download_url":"https://codeload.github.com/squiddy/dns-in-a-weekend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squiddy%2Fdns-in-a-weekend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001448,"owners_count":26083078,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":"2024-11-29T14:48:57.313Z","updated_at":"2025-10-09T12:14:24.979Z","avatar_url":"https://github.com/squiddy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS in a weekend\n\nFollowing https://implement-dns.wizardzines.com/\n\n## Material I found useful\n\n* https://datatracker.ietf.org/doc/html/rfc1035\n* https://veykril.github.io/tlborm/introduction.html\n\n## TODO\n\nThis is of course very far from complete, but these are the things I want to\nlook into in the future.\n\n- [ ] support ipv6\n- [ ] properly handle CNAMEs in `resolve`\n- [X] split code into lib and binary\n- [X] make this a DNS server\n\n## Testing\n\n### Server\n\nPretty straight forward when using `dig`. Because we do not support EDNS, dig\nneeds to be instructed not to send a EDNS query with `+noedns` like this:\n\n    $ dig @127.0.0.1 +noedns google.com IN A\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquiddy%2Fdns-in-a-weekend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquiddy%2Fdns-in-a-weekend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquiddy%2Fdns-in-a-weekend/lists"}