pfSense includes a flexible Dynamic DNS client with a custom-service option. With DNS Beacon your firewall stays reachable under a permanent hostname even when your WAN IP changes. Here's the setup.
Services → Dynamic DNS → Add
Create a free DNS Beacon account, add a hostname and generate an API key — then come back and finish the setup above.
Create free account