# ddns-nameserver

> Dynamic DNS Server

Latest version **1.0.1** (published 2016-08-18) · (MIT OR Apache-2.0) license · 0 weekly downloads

## Install

```sh
npm install ddns-nameserver
pnpm add ddns-nameserver
yarn add ddns-nameserver
bun add ddns-nameserver
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-08-18 |
| First published | 2016-08-18 |
| Weekly downloads | 0 |
| License | (MIT OR Apache-2.0) |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | AJ ONeal |
| Maintainers | coolaj86 |

## Links

- npm: https://www.npmjs.com/package/ddns-nameserver
- Repository: https://github.com/Daplie/node-ddns-server
- Homepage: https://github.com/Daplie/node-ddns-server#readme
- Issues: https://github.com/Daplie/node-ddns-server/issues
- npm.io page: https://npm.io/package/ddns-nameserver

## Dependencies (2)

- [bluebird](https://npm.io/package/bluebird.md) ^3.0.5
- [native-dns](https://npm.io/package/native-dns.md) ^0.7.0

## Recent versions

- 1.0.1 (latest) — 2016-08-18
- 1.0.0 — 2016-08-18

## README

Node.js DDNS UDP Server
======

**STOP:** You probably want [node-ddns](https://github.com/Daplie/node-ddns)

A Dynamic DNS (DDNS / DynDNS) UDP Server written in node.js.

This is one distinct part of a 3-part system.

  * node-ddns (full stack demo)
  * node-ddns-api (RESTful HTTP API)
  * node-ddns-frontend (HTML5 Management App)
  * node-ddns-service (UDP DNS Server)

Install & Configure
-------------------

```bash
# npm
npm install --save ddns-server

# git
git clone git@github.com:Daplie/node-ddns-server.git
```

```javascript
'use strict';

var ddnsServer = require('ddns-server');

function getAnswerList(questions, cb) {
  // questions -> [{ type: A|AAAA|CNAME|MX|TXT, name: 'example.com' }]
  cb(null, [{ type: 'A', address: '127.0.0.1', ttl: 600 }])
}

ddnsServer.create(port, address4, conf, getAnswerList).listen().then(function (closer) {
  console.log('listening');
  //closer.close();
});
```

Test
----

```bash
dig @localhost -p 5353 example.com
```

We're still working through getting all of these tests to pass:

* https://ednscomp.isc.org/ednscomp/ - precise errors and corresponding `dig` commands
* http://dnsviz.net/ - visual tree representation
* http://mxtoolbox.com/DNSLookup.aspx - basic checks

LICENSE
=======

Dual-licensed MIT and Apache-2.0

See LICENSE

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