DDNS with Cloudflare API
A quicker start is available here
Introduction
When hosting private services at home without a public IP, external access is impossible. There are generally three solutions:
- Option 1: Call your ISP to assign a public IP
- Option 2: Use IPv6
- Option 3: Use NAT traversal
This article does not cover NAT traversal, so Option 3 is excluded.
Options 1 and 2 share a common problem: public IP changes. When your public IP changes, you can no longer access your services using the old IP. This is where dynamic DNS (DDNS) comes in—automatically updating DNS records when your IP changes.