@tgl said in Hostname "@" breaks DDNS:
@johnpoz said in Hostname "@" breaks DDNS:
@ used use to denote the root or origin of the domain, ie you have example.com domain, and you want example.com to resolve to an IP without a host name.
Exactly: in DNS entries it's a magic special symbol, not a valid literal host name. I think the OP misused it as a result of misreading whatever instructions he was looking at, but we don't have enough detail to be sure.
As @johnpoz highlighted in his first reply to my post, the instructions for the hostname field in the Dynamic DNS Client edit page specifically instruct use of @ for Azure and a few other providers to indicate an empty hostname which means the domain root:
"Enter the complete fully qualified domain name. Example: myhost.dyndns.org
Azure, Cloudflare, Linode, LuaDNS, Porkbun: Name.com: Enter @ as the hostname to indicate an empty field."
Also, as far as Azure is concerned, it's totally valid to specify @ in the Name field of an A record in a record set defined within a zone. If I can configure an A record with the name @ for a zone using the Azure portal, what's stopping me from using any other authorized Azure API to configure that record? The user interface for this first-class feature of pfSense has specific instructions for this exact situation for updating these records hosted in Azure.