{"id":16401896,"url":"https://github.com/notyusheng/local-python-dns-server","last_synced_at":"2026-04-20T14:01:48.309Z","repository":{"id":249826666,"uuid":"832674583","full_name":"NotYuSheng/Local-Python-DNS-Server","owner":"NotYuSheng","description":"Dockerized local DNS server implemented in Python.","archived":false,"fork":false,"pushed_at":"2024-07-23T14:52:08.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-22T20:03:01.839Z","etag":null,"topics":["dns-server","docker","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/NotYuSheng.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-23T13:49:21.000Z","updated_at":"2024-07-23T14:50:40.000Z","dependencies_parsed_at":"2024-07-23T16:04:26.482Z","dependency_job_id":null,"html_url":"https://github.com/NotYuSheng/Local-Python-DNS-Server","commit_stats":null,"previous_names":["notyusheng/local-python-dns-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NotYuSheng/Local-Python-DNS-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FLocal-Python-DNS-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FLocal-Python-DNS-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FLocal-Python-DNS-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FLocal-Python-DNS-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotYuSheng","download_url":"https://codeload.github.com/NotYuSheng/Local-Python-DNS-Server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotYuSheng%2FLocal-Python-DNS-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","docker","python"],"created_at":"2024-10-11T05:44:28.788Z","updated_at":"2026-04-20T14:01:48.283Z","avatar_url":"https://github.com/NotYuSheng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local Python DNS Server\n\nDockerized simple local DNS server implemented in Python.\n\n## Host requirement(s)\n- **Docker**: [[Installation Guide](https://docs.docker.com/engine/install/)]\n- **Docker Compose**: [[Installation Guide](https://docs.docker.com/compose/install/)]\n\n## Configuration\nThe domain-to-IP mappings are defined in the `config.json` file. Update this file with your desired mappings:\n```\n{\n    \"a.com.\": \"192.168.1.100\",\n    \"b.com.\": \"192.168.1.101\"\n}\n```\n\n## Usage\n1.  Clone this repository and navigate to project folder\n```\ngit clone https://github.com/NotYuSheng/Local-Python-DNS-Server.git\ncd Local-Python-DNS-Server\n```\n\n2.  Build the Docker images:\n```\ndocker-compose build\n```\n\n3.  Run images\n```\ndocker-compose up\n```\n\n## Acknowledgement(s)\n- [Hackernoon - How to Set Up a Local DNS Server With Python](https://hackernoon.com/how-to-set-up-a-local-dns-server-with-python)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotyusheng%2Flocal-python-dns-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotyusheng%2Flocal-python-dns-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotyusheng%2Flocal-python-dns-server/lists"}