Cloudflare API v4 enable users to update DNS records programmatically, which made Dynamic DNS (DDNS) implementation possible. I recently wrote a CLI tool called cf-ddns-cli in Node.js to update DNS A (IPv4) and AAAA (IPv6) records with your current IP address, and it's available in Windows, Mac and Linux.
According to Google's IPv6 adoption statistics, more than 30% of the Internet users are using IPv6 in 2021. In some countries like France and Germany even have adoption rate over 50%, which made it essential to adopt IPv6 on your website for the international users.
In my opinion, changing DNS servers on Linux is even easier than Windows. As you only need to do it once and it applies to all the network interfaces. In this guide we'll be covering configure DNS servers on all Linux distros and prevent DNS settings from changing by other services.