{"id":21464238,"url":"https://github.com/shuque/zonecontent","last_synced_at":"2025-10-13T13:05:24.069Z","repository":{"id":143298497,"uuid":"182753073","full_name":"shuque/zonecontent","owner":"shuque","description":"Summarize the contents of a DNS zone","archived":false,"fork":false,"pushed_at":"2020-04-07T00:54:20.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T13:02:50.206Z","etag":null,"topics":["content","dns","record","summary","types","zone"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shuque.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-04-22T10:35:00.000Z","updated_at":"2020-07-04T21:43:43.000Z","dependencies_parsed_at":"2023-05-11T22:30:19.119Z","dependency_job_id":null,"html_url":"https://github.com/shuque/zonecontent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shuque/zonecontent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fzonecontent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fzonecontent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fzonecontent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fzonecontent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuque","download_url":"https://codeload.github.com/shuque/zonecontent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fzonecontent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015270,"owners_count":26085683,"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-13T02:00:06.723Z","response_time":61,"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":["content","dns","record","summary","types","zone"],"created_at":"2024-11-23T07:30:29.329Z","updated_at":"2025-10-13T13:05:24.063Z","avatar_url":"https://github.com/shuque.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zonecontent\nSummarize the contents of a DNS zone\n\nA small script to summarize the contents of a DNS zone, obtained\nvia zone transfer from a specified server, or via a specified file.\n\n### Pre-requisites\n\n* Python 3\n* The 'dig' program that comes with ISC BIND\n\n### Usage string\n\n```\n$ zonecontent.py --help\n\nUsage: zonecontent.py [Options] \u003czonename\u003e ...\n\n    Options:\n    --help            Print this help message\n    --verbose         Verbose mode (currently does nothing)\n    --server=X        Use specified server IP or hostname to get AXFR from\n                      (default server is 127.0.0.1)\n    --tsig=X          Use TSIG algorithm:name:key specified in X\n    --infile=X        Use specified input file as zone contents\n    --print-rrtype=X  Only print records of type X\n    --print-wildcard  Only print wildcard records\n\nSummarize the contents of a zone. However, if the --print-rrtype or\n--print-wildcard are specified, only the specified record types are\nprinted, rather than a content summary.\n\nIf specifying an input file as the source of the zone, it must be composed\nof 1 presentation format DNS RR per line, with no continuation lines.\n```\n\n### Example usage\n\n```\n$ zonecontent huque.com\n\n### Zone: huque.com.\n### Source: zone transfer from: 127.0.0.1\n### Time: 2019-04-22T13:21EDT\n\nRRs          =             572\nRRs          =             199 (minus DNSSEC)\nRRsets       =             468\nRRsets       =             111 (minus DNSSEC)\nNames        =             227\nNames        =             100 (minus DNSSEC)\nWildcards    =               5\nDelegations  =               8\n\nTTL (min, max, avg) = 60, 86400, 23977\n\nRRtype                    Count            %   %-non-dnssec\nA                            97        17.0%          48.7%\nAAAA                         13         2.3%           6.5%\nCNAME                        29         5.1%          14.6%\nDNAME                         2         0.3%           1.0%\nDNSKEY                        2         0.3%\nDS                            6         1.0%\nMX                            2         0.3%           1.0%\nNS                           24         4.2%          12.1%\nNSEC3                       127        22.2%\nNSEC3PARAM                    1         0.2%\nNULL                          1         0.2%           0.5%\nOPENPGPKEY                    1         0.2%           0.5%\nRRSIG                       237        41.4%\nSOA                           1         0.2%           0.5%\nSRV                           1         0.2%           0.5%\nSSHFP                         2         0.3%           1.0%\nTLSA                         18         3.1%           9.0%\nTXT                           8         1.4%           4.0%\n\n### Elapsed time: 0.02s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuque%2Fzonecontent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuque%2Fzonecontent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuque%2Fzonecontent/lists"}