Issues with DynDNS using native os-ddclient and Azure

Started by levi.rogers, April 02, 2025, 05:10:41 PM

Previous topic - Next topic
April 02, 2025, 05:10:41 PM Last Edit: April 09, 2025, 02:56:46 PM by levi.rogers Reason: Change Message Icon.
I have been trying to get the Dynamic DNS setup with Azure DNS for a few hours.  I can see the login attempts from the service credential that I created but it never updates the record.  I have tried a ton of different settings with no luck.  My google-fu has ran out on this one. 

The logs are no help even with verbosity enabled.

I have tried different ip lookup services and I can see the traffic/request going out successfully.

This is all I see in the logs:

2025-04-02T10:05:14-05:00    Notice    ddclient    Account xxx [azure - Azure DNS] not modified   
2025-04-02T10:05:12-05:00    Notice    ddclient    Account xxx [azure - Azure DNS] executing   
2025-04-02T10:05:12-05:00    Notice    ddclient    Account xxx [azure - Azure DNS] uses Azure for service

Is there another log I can be looking at? 
Is there a way to debug this? 


For Anyone else finding this through a web search:

https://micoolpaul.com/2022/07/20/configuring-pfsense-dynamic-dns-with-azure-dns/
Follow the first few steps in this article up to Configuring the PfSense Firewall  (do everything before that step).

After that go to your opnsense ddclient settings and set the following
Client Type:  Native
Select Service Microsoft Azure
YOUR HOSTNAME:  should ONLY be the hostname not the FQDN so - "test" not "test.com"
Username: Application Client ID for your Azure  AD App Regristation.
Password:  Secret Value
ResourceID:  is the path to your dns zone like this:
/subscriptions/xxx-xxx-xxx/resourceGroups/<resource group name>/providers/Microsoft.Network/dnsZones/<your zone name>

I hope this helps someone in the future.