Dynamic DNS

Time Required

5 Minutes

Difficulty

Low

You can use a Dynamic DNS container to automatically update your Cloudflare managed domain, to keep it up to date with your dynamic public IP address

Requirements

Compose Files

You will be able to use the https://github.com/trentnbauer/agg-docs/blob/main/guides/cloudflare/broken-reference/README.md guide to put these compose files into production

https://github.com/trentnbauer/agg/blob/main/docker-compose/ddns.yml

Example .ENV file

CLOUDFLARE_APIKEY=
DOMAIN=
SUBDOMAIN=
PROXIED=true

Some things to note

  • If you are setting up DDNS for your root domain, leave the subdomain variable blank

  • It is recommended to leave proxied as true but if your service fails to load, try it as false.

  • You may need to configure a Cloudflare tunnel, per Tunnel

Confirm the Container is working

Log into Portainer and view the logs for the container, you should see something similar to below

Last updated

Was this helpful?