Since I selfhost stuff and my ISP changes my ipv4 regularly I need to update my DNS Records to point to my services. This node app checks every 2 minutes if your ip has changed and updates the dns record accordingly. So to say your own Dynamic DNS service.
- Clone this repo and cd into it.
git clone git@github.com:888iee/ddns_ionos.git
cd ./ddns_ionos
- Create a .env file
nano .env
api_key="prefix.encryptionkey"
domain="my.domain.com"
dns_type="A"
ttl="3600"
- Run with docker or directly with nodejs
docker build . -t ddns_ionos
docker run -d ddns_ionos
npm install
node ./app.js
Only IPv4 Adress was tested and I used node version 16.16 in development.
Distributed under the MIT License. See LICENSE
for more information.