{"id":21512520,"url":"https://github.com/isc-projects/bind9-rndc-node","last_synced_at":"2025-04-09T18:33:37.169Z","repository":{"id":68621549,"uuid":"114759934","full_name":"isc-projects/bind9-rndc-node","owner":"isc-projects","description":"BIND9 RNDC protocol implementation for NodeJS","archived":false,"fork":false,"pushed_at":"2023-11-09T09:48:41.000Z","size":17,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T20:37:10.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/isc-projects.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}},"created_at":"2017-12-19T11:58:11.000Z","updated_at":"2024-11-22T10:07:41.000Z","dependencies_parsed_at":"2023-11-09T11:16:42.915Z","dependency_job_id":"41e8c7dd-cf06-465a-a583-0affd3ded750","html_url":"https://github.com/isc-projects/bind9-rndc-node","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"e51f49453e6194ae4cf565685c69b5a7e5688e6f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-projects%2Fbind9-rndc-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-projects%2Fbind9-rndc-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-projects%2Fbind9-rndc-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-projects%2Fbind9-rndc-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isc-projects","download_url":"https://codeload.github.com/isc-projects/bind9-rndc-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247653793,"owners_count":20973903,"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-23T22:37:59.142Z","updated_at":"2025-04-09T18:33:37.144Z","avatar_url":"https://github.com/isc-projects.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BIND9 rndc for NodeJS\n\nThis module implements the BIND9 rndc management protocol and is\ncompatible with BIND 9.9 and later.\n\nThis is unsupported software and is provided without warranty.\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    var RNDC = require('bind9-rndc');\n\n    var key = '2or79WFROyibcP/qixhklCiZIL4aHfRIQj7yyodzQBw=';\n    var algo = 'sha256';\n\n    var session = RNDC.connect('localhost', 953, key, algo);\n\n    session.on('ready', () =\u003e {\n        session.send('status');\n    });\n\n    session.on('data', (obj) =\u003e {\n        console.log(obj);\n        session.end();\n    });\n\n    session.on('error', console.log);\n\nEach call to `.send` sends a single command string to the server,\nalthough with this module it is possible to maintain a persistent\nconnection to the rndc port and send multiple commands, achieving\nhigher throughput than is possible compared to opening a new rndc\nconnection for each command.\n\nIn BIND 9.11 and later a valid response will contain a `result`\nkey with a (string) variable containing the value `0`, or an error\ncode otherwise.\n\nValid crypto algorithms are `md5`, `sha1`, `sha224`, `sha256`,\n`sha384`, and `sha512`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisc-projects%2Fbind9-rndc-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisc-projects%2Fbind9-rndc-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisc-projects%2Fbind9-rndc-node/lists"}