Skip to content

888iee/ddns_ionos

Repository files navigation

License: MIT

IONOS DNS Record Updater

Dynamic DNS for selfhosting

About the Project

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.

How to run

  1. Clone this repo and cd into it.
git clone git@github.com:888iee/ddns_ionos.git
cd ./ddns_ionos
  1. Create a .env file
nano .env
api_key="prefix.encryptionkey"
domain="my.domain.com"
dns_type="A"
ttl="3600"
  1. Run with docker or directly with nodejs

Docker

docker build . -t ddns_ionos
docker run -d ddns_ionos

Bare metal Node.js

npm install
node ./app.js

Disclaimer

Only IPv4 Adress was tested and I used node version 16.16 in development.

License

Distributed under the MIT License. See LICENSE for more information.

About

Dynamic DNS resolver for Ionos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published