In the US for home connections (cable, fiber, DSL) everybody gets an accessible IP address pretty much -- the worst is that some ports are blocked like port 80 or 25. Phones don't get a dedicated IPv4.
And that's really NAT, not a firewall, so nothing is "blocked".
You do get public IPv6 addresses from some ISPs, though.
I have cable with a theoretically dynamic DNS but it's changed once in >4 years.
The point of the comment was that cannot just assume it never changed unless monitoring it contiuously.
If your DNS provider has an API, this is probably the very first example in the docs.