{"id":28571790,"url":"https://github.com/kweonminsung/bind9_rndc_rust","last_synced_at":"2026-01-20T17:35:50.030Z","repository":{"id":293924830,"uuid":"985523573","full_name":"kweonminsung/bind9_rndc_rust","owner":"kweonminsung","description":"BIND9 RNDC protocol implementation for Rust","archived":false,"fork":false,"pushed_at":"2025-05-28T14:51:58.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T19:58:38.915Z","etag":null,"topics":["bind9","dns","rndc","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rndc/0.1.2","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kweonminsung.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,"zenodo":null}},"created_at":"2025-05-18T00:19:03.000Z","updated_at":"2025-05-28T14:52:11.000Z","dependencies_parsed_at":"2025-05-18T00:39:42.120Z","dependency_job_id":"39324b6d-2225-4bcf-a7ba-4ec98bf84333","html_url":"https://github.com/kweonminsung/bind9_rndc_rust","commit_stats":null,"previous_names":["kweonminsung/bind9_rndc_rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kweonminsung/bind9_rndc_rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kweonminsung%2Fbind9_rndc_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kweonminsung%2Fbind9_rndc_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kweonminsung%2Fbind9_rndc_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kweonminsung%2Fbind9_rndc_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kweonminsung","download_url":"https://codeload.github.com/kweonminsung/bind9_rndc_rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kweonminsung%2Fbind9_rndc_rust/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261799476,"owners_count":23211391,"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":["bind9","dns","rndc","rust"],"created_at":"2025-06-10T19:41:33.030Z","updated_at":"2026-01-20T17:35:50.019Z","avatar_url":"https://github.com/kweonminsung.png","language":"Rust","readme":"# BIND9 rndc for Rust\n\nThis module is a rust binding for [bind9-rndc-node](https://github.com/isc-projects/bind9-rndc-node/tree/master).\n\nThis module implements the BIND9 rndc management protocol and is\ncompatible with BIND 9.9 and later.\n\n## Example usage\n\nThe code below sends the \"status\" command to the default rndc port\non the machine `localhost`. The key data is base64 encoded, as per\nthe usual `rndc.conf` syntax.\n\n```rust\n    let client = RndcClient::new(\n        \"127.0.0.1:953\", // rndc server URL\n        \"sha256\", // supported algorithms: md5, sha1, sha224, sha256, sha384, sha512\n        \"secret_key\", // base64 encrypted secret_key\n    );\n\n    println!(client.rndc_command(\"reload\").unwrap());\n    /*\n        Output:\n\n        server reload successful\n    */\n\n    println!(client.rndc_command(\"status\").unwrap());\n    /*\n        Output:\n\n        version: BIND 9.18.30-0ubuntu0.24.04.2-Ubuntu (Extended Support Version) \u003cid:\u003e\n        running on localhost: Linux x86_64 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024\n        boot time: Mon, 11 Aug 2025 13:32:16 GMT\n        last configured: Mon, 11 Aug 2025 13:32:16 GMT\n        configuration file: /etc/bind/named.conf\n        CPUs found: 8\n        worker threads: 8\n        UDP listeners per interface: 8\n        number of zones: 105 (98 automatic)\n        debug level: 0\n        xfers running: 0\n        xfers deferred: 0\n        soa queries in progress: 0\n        query logging is OFF\n        recursive clients: 0/900/1000\n        tcp clients: 0/150\n        TCP high-water: 0\n        server is up and running\n    */\n```\n\nValid crypto algorithms are `md5`, `sha1`, `sha224`, `sha256`,\n`sha384`, and `sha512`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkweonminsung%2Fbind9_rndc_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkweonminsung%2Fbind9_rndc_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkweonminsung%2Fbind9_rndc_rust/lists"}