{"id":13575661,"url":"https://github.com/bahlo/mapdns","last_synced_at":"2025-06-13T03:34:25.250Z","repository":{"id":69157026,"uuid":"411981423","full_name":"bahlo/mapdns","owner":"bahlo","description":"A simple, static DNS server.","archived":false,"fork":false,"pushed_at":"2023-03-07T03:17:16.000Z","size":85,"stargazers_count":86,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T17:47:04.719Z","etag":null,"topics":["dns","go","static"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahlo.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}},"created_at":"2021-09-30T08:20:49.000Z","updated_at":"2025-03-09T17:00:39.000Z","dependencies_parsed_at":"2023-03-11T05:23:20.944Z","dependency_job_id":null,"html_url":"https://github.com/bahlo/mapdns","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fmapdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fmapdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fmapdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fmapdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahlo","download_url":"https://codeload.github.com/bahlo/mapdns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252211127,"owners_count":21712334,"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":["dns","go","static"],"created_at":"2024-08-01T15:01:03.082Z","updated_at":"2025-05-03T15:32:12.988Z","avatar_url":"https://github.com/bahlo.png","language":"Go","funding_links":[],"categories":["go","Go"],"sub_categories":[],"readme":"# mapdns [![CI](https://github.com/bahlo/mapdns/actions/workflows/ci.yml/badge.svg)](https://github.com/bahlo/mapdns/actions/workflows/ci.yml)\n\nA smol DNS server (around 100 loc) that's configured with a static JSON file. Useful for split-dns.\n\n## Install\n\n### Go\n```shell\ngo install github.com/bahlo/mapdns@v0.2.0\n```\n\n### Docker\n```shell\ndocker pull ghcr.io/bahlo/mapdns:0.2.0\n```\n\n## Example\nCreate a `mapdns.json` in the same directory you're running the binary from, with content like this:\n```json\n{\n\t\"foo.example.org.\": {\n\t\t\"A\": \"1.2.3.4\",\n\t\t\"AAAA\": \"::1\"\n\t},\n\t\"*.foo.example.org.\": {\n\t\t\"A\": \"1.2.3.4\"\n\t}\n}\n```\n\nRun the binary and start making requests!\n\n## State of the project\n\nIt works and I use it in my home network for split-dns[^1]. \nThere is little tests and no support for records other than `A` and `AAAA`. \nPlease don't use this on a production system.\n\n## Logging\nExpose `MAPDNS_DEBUG=true` to get debug logs. Otherwise it will only log on \nerrors. \n\n[^1]: I use Tailscale and configured it to search for my internal network domain\non the DNS server I configured here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahlo%2Fmapdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahlo%2Fmapdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahlo%2Fmapdns/lists"}