{"id":34167661,"url":"https://github.com/mostafaahmed97/rootwalk","last_synced_at":"2026-03-12T03:32:47.681Z","repository":{"id":259596111,"uuid":"865064038","full_name":"mostafaahmed97/rootwalk","owner":"mostafaahmed97","description":"A tiny DNS resolver written in Go.","archived":false,"fork":false,"pushed_at":"2024-11-15T13:44:14.000Z","size":706,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T13:46:32.045Z","etag":null,"topics":["dns","dns-resolver","go","golang","root-servers","rootwalk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mostafaahmed97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-29T22:12:21.000Z","updated_at":"2024-11-15T13:44:18.000Z","dependencies_parsed_at":"2024-10-26T20:07:16.520Z","dependency_job_id":"e1a87dca-9c6e-4c4f-aec8-83e93738ce7c","html_url":"https://github.com/mostafaahmed97/rootwalk","commit_stats":null,"previous_names":["mostafaahmed97/dns-resolver","mostafaahmed97/rootwalker","mostafaahmed97/rootwalk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mostafaahmed97/rootwalk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaahmed97%2Frootwalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaahmed97%2Frootwalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaahmed97%2Frootwalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaahmed97%2Frootwalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mostafaahmed97","download_url":"https://codeload.github.com/mostafaahmed97/rootwalk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostafaahmed97%2Frootwalk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30414322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T00:40:14.898Z","status":"online","status_checked_at":"2026-03-12T02:00:07.260Z","response_time":114,"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":["dns","dns-resolver","go","golang","root-servers","rootwalk"],"created_at":"2025-12-15T10:30:23.161Z","updated_at":"2026-03-12T03:32:47.675Z","avatar_url":"https://github.com/mostafaahmed97.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rootwalk\n\n[![Ceasefire Now](https://badge.techforpalestine.org/default)](https://techforpalestine.org/learn-more)\n\nrootwalk is a tiny DNS resolver I wrote to learn more about how \nDNS works and to practice writing Go. Read the blog post: https://mostafaahmed.hashnode.dev/series/building-a-dns-resolver-in-go-from-scratch\n\nIt's a simple recursive\u003csup\u003e*\u003c/sup\u003e \nresolver using only the Go standard library. It's meant \nto be used for educational purposes, you probably shouldn't depend \non this in production :D.\n\nrootwalk's purpose is to resolve a domain name starting from the \nroot nameservers, it navigates the hierarchy of DNS nameservers \nand outputs the resolution journey.\n\n![](./docs/cycle.png)\n\n\u003csup\u003e*\u003c/sup\u003e Recursive resolvers should support result caching \nby definition, this is a limitation in rootwalk.\n\n# Usage\n\n```shell\ngo build\n./rootwalk \u003cdomain\u003e \u003croot\u003e\n\n# or\ngo run . \u003cdomain\u003e \u003croot\u003e\n```\nWhere:\n- `domain` is the domain name to be resolved.\n- `root` a value between `a` - `m` specifying which root server \nshould be used, defaults to `a`.\n\n# Output Example\n\n![alt text](/docs/example.png)\n\n# Limitations\n\n- No caching\n- Limited support for resource record types, only `A`, `AAA` and `NS` atm.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafaahmed97%2Frootwalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostafaahmed97%2Frootwalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafaahmed97%2Frootwalk/lists"}