{"id":28425457,"url":"https://github.com/holzkohlengrill/dns_message_parser","last_synced_at":"2025-10-11T16:11:06.348Z","repository":{"id":237290811,"uuid":"787972214","full_name":"holzkohlengrill/dns_message_parser","owner":"holzkohlengrill","description":"(Partial) Python 3 implementation of a DNS message parser (supports A, AAAA and CNAME record types (qtypes) and IPv4/IPv6)","archived":false,"fork":false,"pushed_at":"2024-05-05T08:34:45.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-03T19:49:39.036Z","etag":null,"topics":["cname","dns","dns-record","ipv4","ipv6","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/holzkohlengrill.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-04-17T14:31:30.000Z","updated_at":"2024-05-05T08:34:48.000Z","dependencies_parsed_at":"2024-04-30T18:44:43.163Z","dependency_job_id":"9cc3a48d-2563-4870-affe-2b6e99b5c9a6","html_url":"https://github.com/holzkohlengrill/dns_message_parser","commit_stats":null,"previous_names":["holzkohlengrill/dns_message_parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/holzkohlengrill/dns_message_parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holzkohlengrill%2Fdns_message_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holzkohlengrill%2Fdns_message_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holzkohlengrill%2Fdns_message_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holzkohlengrill%2Fdns_message_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holzkohlengrill","download_url":"https://codeload.github.com/holzkohlengrill/dns_message_parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holzkohlengrill%2Fdns_message_parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007786,"owners_count":26084364,"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-11T02:00:06.511Z","response_time":55,"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":["cname","dns","dns-record","ipv4","ipv6","python","python3"],"created_at":"2025-06-05T10:37:33.369Z","updated_at":"2025-10-11T16:11:06.331Z","avatar_url":"https://github.com/holzkohlengrill.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS message parser\n(Partial) Python 3 implementation of a DNS message parser (supports A, AAAA and CNAME record types (qtypes) and IPv4/IPv6)\n\nIt prompts the user for an input (= binary hex stream; like: `a01d81800001000100000000076578616d706c6503636f6d0000010001c00c0001000100001bbc00045db8d822`) and would print in the following format:\n```\n;; -\u003e\u003eHEADER\u003c\u003c- opcode: QUERY, status: NOERROR, id: 40989\n;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0\n\n;; QUESTION SECTION:\n;example.com.           IN      A\n\n;; ANSWER SECTION:\nexample.com.            7100    IN      A       93.184.216.34\n```\n\nThe tool returns similar (but less) output to [`dig`](https://linux.die.net/man/1/dig).\n\n\n# Extension\nIn order to add more implementations for Resource Records (QType) add the relevant functions to the `_RDataProcessor` class and link it in the LUT `_qtypeDispatchLUT` (LUT for processing function dispatch).\n\n\n# Based on RFCs:\n* [Domain Names – Concepts and Facilities](https://datatracker.ietf.org/doc/html/rfc1035)\n* [Domain Names – Implementation and Specification](https://datatracker.ietf.org/doc/html/rfc1034)\n* [DNS Extensions to Support IP Version 6](https://datatracker.ietf.org/doc/html/rfc3596)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholzkohlengrill%2Fdns_message_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholzkohlengrill%2Fdns_message_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholzkohlengrill%2Fdns_message_parser/lists"}