A Node.js application that acts as a Dynamic Domain Name Server
To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/pholawat-tle/name.com-ddns
- Install NPM packages
npm install
- In the application folder, copy the .env.example file and create a file called .env
cp .env.example .env
- Open .env with a text editor of your choice and correct the environment variables
domainName=<--YOUR DOMAIN NAME--> namedotcom_username=<--YOUR NAME.COM USERNAME--> namedotcom_apiToken=<--YOUR NAME.COM API TOKEN-->
- Start the application with npm
or with Docker
npm run start
docker-compose up
- Set up a cron job
- Retrieve Public IP function
- Update Name.com API when Public IP change
Distributed under the MIT License. See LICENSE
for more information.