namecheap-dynamic-dns
Version:
This is an implementation of Namecheap Dynamic DNS in Node.js.
20 lines (17 loc) • 607 B
Markdown
# Namecheap - Dynamic DNS Updater
This is an implementation of [Namecheap Dynamic DNS](https://www.namecheap.com/support/knowledgebase/article.aspx/29/11/how-do-i-use-a-browser-to-dynamically-update-the-hosts-ip/) in Node.js.
## Installation
- Run:
```bash
npm i -g namecheap-dynamic-dns
cd /usr/lib/node_modules/namecheap-dynamic-dns/ # Or wherever your global modules are installed.
cp .env.example .env
```
- Fill the information in the .env file.
- host: @ (or the subdomain that you want to update).
- domain: yourdomain.tld.
- password: Dynamic DNS password.
- Run:
```bash
./dns.js
```