Skip to content

Node API server that mimics DYN-DNS members API and intended to be used for Hikvision devices

Notifications You must be signed in to change notification settings

mike6715b/Hikvision-DDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hikvision-DDNS

Node API server made to mimick a Dyn-Dns members API server. Intended to be used on Hikvision devices where you dont want to use DynDns as your Dynamic DNS provider. Uses Cloudflare for Dynamic DNS.

Setup

Using the Hikvision Network SDK, available here you can edit your DDNS server, port and domain and make them point to your server.

Create your own .env file and in it place the following data:

CF_TKN=<YOUR API TOKEN>
CF_ZONE_ID=<YOUR ZONE ID>

You can create your API token in the Cloudflare dashboard. Get your CF_ZONE_ID from your domain's dashboard by scrolling down and then copy the ZONE ID string

Install and RUN

Clone the repo and run npm i to install all dependecies. After that simply run node .\server.js and you are up and running.

The app listens on path '/nic/update' as this is the endpoint that dyn-dns members API uses.

Would reccomend to host in on AWS or GCP for free or on your own server with pm2, available here.

About

Node API server that mimics DYN-DNS members API and intended to be used for Hikvision devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published