{"id":13930178,"url":"https://github.com/r-bk/rsdns","last_synced_at":"2026-04-06T06:03:16.482Z","repository":{"id":50557476,"uuid":"336256805","full_name":"r-bk/rsdns","owner":"r-bk","description":"DNS Client Library","archived":false,"fork":false,"pushed_at":"2026-02-06T10:17:19.000Z","size":751,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T17:40:26.584Z","etag":null,"topics":["async","dig","dns","net","resolver","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-bk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2021-02-05T11:49:04.000Z","updated_at":"2026-02-06T10:16:44.000Z","dependencies_parsed_at":"2023-02-08T05:30:21.536Z","dependency_job_id":"1ed0536b-410b-4d1a-a983-9c9cfc3f4550","html_url":"https://github.com/r-bk/rsdns","commit_stats":{"total_commits":588,"total_committers":2,"mean_commits":294.0,"dds":0.00170068027210879,"last_synced_commit":"1838fc6d5f162faaeb0b646085193d7c82fe26d9"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/r-bk/rsdns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-bk%2Frsdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-bk%2Frsdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-bk%2Frsdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-bk%2Frsdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-bk","download_url":"https://codeload.github.com/r-bk/rsdns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-bk%2Frsdns/sbom","scorecard":{"id":756708,"data":{"date":"2025-08-11","repo":{"name":"github.com/r-bk/rsdns","commit":"f69f2a7544392efe9f83c0f477bfd6de00be74c6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fuzz.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:144: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:146: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:195: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:206: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:208: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fuzz.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/fuzz.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/fuzz.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/r-bk/rsdns/fuzz.yml/master?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: RustCargoFuzzer integration found: fuzz/fuzz_targets/rrset_from_msg.rs:2"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T21:53:19.178Z","repository_id":50557476,"created_at":"2025-08-22T21:53:19.178Z","updated_at":"2025-08-22T21:53:19.178Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31461534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["async","dig","dns","net","resolver","rust"],"created_at":"2024-08-07T18:05:03.887Z","updated_at":"2026-04-06T06:03:16.458Z","avatar_url":"https://github.com/r-bk.png","language":"Rust","readme":"# rsdns - DNS Client Library\n\n**rsdns** is a Rust library for interacting with DNS servers.\n\nIts main goal is to query the Domain Name System and return the results in easily\nconsumable Rust types.\n\n*rsdns* strives to be simple and fast. To be simple *rsdns* keeps a minimal API.\nTo be fast *rsdns* aims to allow DNS message parsing with minimal overhead.\n\nThere are crates which implement asynchronous DNS clients, but are built for a single\nasync runtime. This somewhat blocks usage of such client in an application built around\nanother runtime. *rsdns* closes this gap and genuinely supports three different async\nruntimes. Moreover, *rsdns* has an independent synchronous client as well.\n\n[![crates.io][crates-badge]][crates-url]\n[![docs.rs][docs-badge]][docs-url]\n\n[crates-badge]: https://img.shields.io/crates/v/rsdns.svg\n[crates-url]: https://crates.io/crates/rsdns\n[docs-badge]: https://img.shields.io/docsrs/rsdns\n[docs-url]: https://docs.rs/rsdns/latest/rsdns\n\n## Notable Features\n\n* Minimal API\n* Asynchronous DNS clients for `tokio`, `async-std` and `smol`\n* Blocking client implemented with `std::net`\n* Zero memory allocations when parsing records with no variable size fields\n* Sockets can be bound to network interfaces by name (available on operating\n  systems with `SO_BINDTODEVICE` support)\n* Minimal set of dependencies\n\n## ch4\n\n*rsdns* comes with a small command-line tool [ch4](https://github.com/r-bk/ch4).\n*ch4* uses *rsdns* to query the Domain Name System,\nand shows the results in a zone-file format.\nIt can be used as a simple substitute for [dig](https://en.wikipedia.org/wiki/Dig_(command)),\nespecially on platforms where *dig* is not originally supported.\n\n## Supported RFCs\n\n* [RFC 1035] - the foundation of DNS protocol: `A`, `NS`, `TXT`, `CNAME`, `SOA`, `MX`, `PTR`, `ANY` etc.\n* [RFC 1101], [RFC 1123] - allow leading digits in domain name labels\n* [RFC 2181] - RRSet definition and TTL handling\n* [RFC 2671], [RFC 6891] - EDNS0\n* [RFC 3596] - `AAAA`\n* [RFC 7766] - DNS Transport over TCP, TCP message length field handling\n\n[RFC 1035]: https://www.rfc-editor.org/rfc/rfc1035.html\n[RFC 1101]: https://www.rfc-editor.org/rfc/rfc1101.html\n[RFC 1123]: https://www.rfc-editor.org/rfc/rfc1123.html\n[RFC 2181]: https://www.rfc-editor.org/rfc/rfc2181#section-5\n[RFC 2671]: https://www.rfc-editor.org/rfc/rfc2671.html\n[RFC 3596]: https://www.rfc-editor.org/rfc/rfc3596.html\n[RFC 6891]: https://www.rfc-editor.org/rfc/rfc6891.html\n[RFC 7766]: https://www.rfc-editor.org/rfc/rfc7766.html\n\n## Roadmap\n\nThe next planned features are:\n\n* [RFC 2782](https://www.rfc-editor.org/rfc/rfc2782.html) - `SRV`\n* [RFC 6844](https://www.rfc-editor.org/rfc/rfc6844.html) - `CAA`\n* [RFC 7208](https://www.rfc-editor.org/rfc/rfc7208.html) - `SPF`\n\n## Changelog\n\nThe changelog is maintained in [CHANGELOG.md](CHANGELOG.md)\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0\n  ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n* MIT license\n  ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":["rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-bk%2Frsdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-bk%2Frsdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-bk%2Frsdns/lists"}