Updates your DNS records on your DNS provider when it changes
100K+
Updates your DNS records on your DNS provider when it changes.
This project is a PHP utility used to update DNS Records on multiple DNS providers. It is basically used to keep an DNS "A" Record in sync with your public IP automatically, on any provider.
Currently available providers are:
This tool does not ensure that your configurations are correct. Configure your DNS settings correctly on your provider first, and use this tool only to keep the record updated.
This will run the project on a schedule (every 5 mins) by default. Just run the following command and you are good to go (refer tothe environment variables definitions in the section below).
docker run --name dns-updater-mysite-ddns \
--env PROVIDER=cloudflare \
--env [email protected];my-api-key-here \
--env DOMAIN=mysite.com \
--env RECORD=ddns \
--restart unless-stopped \
edmur/dns-updater
To check what's going on inside the container just run:
docker logs dns-updater-mysite-ddns
PROVIDER should be either digitalocean or cloudflare.KEY Your API key of the provider. If your provider is cloudflare it should be [email protected];your-api-key.DOMAIN The domain that your record belongs to, like mysite.com.RECORD The record that will be updated E.g. 'ddns' for updating the record at ddns.mysite.com.Content type
Image
Digest
Size
55.9 MB
Last updated
over 7 years ago
docker pull edmur/dns-updater