# powerdns

> PowerDNS REST client.

Latest version **0.0.0** (published 2014-08-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install powerdns
pnpm add powerdns
yarn add powerdns
bun add powerdns
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2014-08-29 |
| First published | 2014-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sam Day |
| Maintainers | samcday |
| Keywords | powerdns, pdns, rest, api, dns, client |

## Links

- npm: https://www.npmjs.com/package/powerdns
- Repository: https://github.com/samcday/node-powerdns
- Issues: https://github.com/samcday/node-powerdns/issues
- npm.io page: https://npm.io/package/powerdns

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.0.0 (latest) — 2014-08-29

## README

# powerdns

Client for the [PowerDNS REST interface][powerdns-rest-api].


## Setup

  var powerdns = require("powerdns");

  var pdnsClient = powerdns("localhost", 8080);


## API

The API supports both standard Node CPS (callbacks) and Promises.

For now, the API only handles dealing with the "[localhost][powerdns-rest-spec-servers]" server.

### Server config

A specific key can be provided to obtain a particular value. If no key is provided, all config is returned.

  pdnsClient.config(function(err, config) {
    console.log(config);
    // --> { "key": "value", "key2": "value2" }
  });

### Zones config.

[powerdns-rest-docs]: https://github.com/PowerDNS/pdns/tree/master/pdns/docs/httpapi
[powerdns-rest-spec-servers]: https://github.com/PowerDNS/pdns/blob/master/pdns/docs/httpapi/api_spec.md#servers

---
_Source: https://npm.io/package/powerdns · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
