0.0.14 • Published 8 months ago

refresh-dns-with-google-domains v0.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

RefreshDns Logo

Fast, light, minimalist DNS polling refresh for Google Domains Dynamic DNS Node.js.

NPM Version NPM Install Size NPM Downloads

require('refresh-dns-with-google-domains').refresh();

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

If this is a brand new project, make sure to create a package.json first with the npm init command.

Installation is done using the npm install command:

$ npm install refresh-dns-with-google-domains

Config file

Create a file named ext-ip.config in your HOME directory.

$ nano /home/USERNAME/ddns/host1/ext-ip.config
$ nano /home/USERNAME/ddns/host2/ext-ip.config
$ nano /home/USERNAME/ddns/host3/ext-ip.config
$ nano /home/USERNAME/ddns/host4/ext-ip.config

Following template:

{
    "dnsAddress": "your-hostname",
    "username": "Google-Domains-Dynamic-DNS-username",
    "password": "Google-Domains-Dynamic-DNS-password"
}

Change file with your parameters and save.

It will create a file in your home directory named `ext-ip.txt with your actual external IP. This is a temporary file. YOU DON'T ERASE IT.

Running Tests

To run the test suite, enter in the test directory, then run npm run start:

$ cd /home/USERNAME/node_modules/refresh-dns-with-google-domains/test
$ npm install
$ npm run start

If you don't have the config file, the test suite will create a template config file for you.

License

ISC

0.0.14

8 months ago

0.0.12

9 months ago

0.0.13

9 months ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago