This is an implementation of Namecheap Dynamic DNS in Node.js.
This is an implementation of Namecheap Dynamic DNS in Node.js.
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
``