{"id":20571541,"url":"https://github.com/circl/pypdns","last_synced_at":"2026-02-18T13:02:31.780Z","repository":{"id":22912256,"uuid":"26261043","full_name":"CIRCL/PyPDNS","owner":"CIRCL","description":"Client API to query any Passive DNS implementation following the Passive DNS - Common Output Format.","archived":false,"fork":false,"pushed_at":"2025-03-12T00:36:35.000Z","size":283,"stargazers_count":77,"open_issues_count":1,"forks_count":17,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-01T15:10:09.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CIRCL.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":"2014-11-06T08:36:36.000Z","updated_at":"2025-03-15T06:37:41.000Z","dependencies_parsed_at":"2023-01-13T22:26:31.876Z","dependency_job_id":"e1524b95-1f47-4d19-bbe7-da042eb0f7b6","html_url":"https://github.com/CIRCL/PyPDNS","commit_stats":{"total_commits":81,"total_committers":10,"mean_commits":8.1,"dds":0.2098765432098766,"last_synced_commit":"7885a29cd2b797a77003b6479bace541fae308a7"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2FPyPDNS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2FPyPDNS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2FPyPDNS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2FPyPDNS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CIRCL","download_url":"https://codeload.github.com/CIRCL/PyPDNS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878022,"owners_count":21011158,"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":[],"created_at":"2024-11-16T05:16:31.294Z","updated_at":"2026-02-18T13:02:31.687Z","avatar_url":"https://github.com/CIRCL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Documentation Status](https://readthedocs.org/projects/pypdns/badge/?version=latest)](https://pypdns.readthedocs.io/en/latest/?badge=latest)\n\nClient API for PDNS\n===================\n\nClient API to query any Passive DNS implementation following the Passive DNS - Common Output Format.\n\n* https://datatracker.ietf.org/doc/draft-dulaunoy-dnsop-passive-dns-cof/\n\n## Installation\n\n```bash\npip install pypdns\n```\n\n## Usage\n\n### Command line\n\nYou can use the `pdns` command to trigger a request.\n\n```bash\nusage: pdns [-h] --username USERNAME --password PASSWORD --query QUERY [--rrtype RRTYPE]\n\nTriggers a request againse CIRCL Passive DNS.\n\noptions:\n  -h, --help           show this help message and exit\n  --username USERNAME  The username of you account.\n  --password PASSWORD  The password of you account.\n  --query QUERY        The query, can be an IP. domain, hostname, TLD.\n  --rrtype RRTYPE      Filter the request based on the RR Type.\n```\n\n### Library\n\nSee [API Reference](https://pypdns.readthedocs.io/en/latest/api_reference.html)\n\n\nExample\n=======\n\n~~~~\nimport pypdns\nimport json\nx = pypdns.PyPDNS(basic_auth=('username','yourpassword'))\n\nfor record in x.iter_query(q='circl.lu', filter_rrtype='A'):\n    print(json.dumps(record.record, indent=2))\n~~~~\n\nPassive DNS Services\n====================\n\n* (default) [CIRCL Passive DNS](http://www.circl.lu/services/passive-dns/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircl%2Fpypdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircl%2Fpypdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircl%2Fpypdns/lists"}