Dynamically update DNS records
Last updated Apr 16, 2026 Most Internet service providers and some hosting providers dynamically update their customer's IP addresses. If this situation applies to you, you need an automated solution to dynamically update your DNS records in Cloudflare.
Cloudflare API
Create a script to monitor IP address changes and then have that script push changes to the Cloudflare API.
ddclient
ddclient ↗︎ is a third-party Perl client used to update dynamic DNS entries for accounts on various DNS providers.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/manage-dns-records/how-to/managing-dynamic-ip-addresses/#page","headline":"Dynamically update DNS records","description":"Update DNS records automatically for dynamic IP addresses.","url":"https://developers.cloudflare.com/dns/manage-dns-records/how-to/managing-dynamic-ip-addresses/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/manage-dns-records/how-to/managing-dynamic-ip-addresses/og.png?v=7951fef7f1076411","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Distribute traffic across multiple origins with round-robin DNS. title: Round-robin DNS image: https://developers.cloudflare.com/dns/manage-dns-records/how-to/round-robin-dns/og.png?v=e7146a2283739784
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.
Docs