COREDNS-AZURE(7)
π NAME π
azure β enables serving zone data from Microsoft Azure DNS service. β¨ And hii bestie, this is the COREDNS-AZURE(7) page from the CoreDNS Plugins manual, so we're literally about to make Azure DNS make sense π
πΈ DESCRIPTION πΈ
Okay so the azure plugin is useful for serving zones from Microsoft Azure DNS. It supports all the DNS records supported by Azure, viz. A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, and TXT record types. Heads up though: the NS record type is not supported by azure private DNS. π
Zone data is loaded asynchronously after startup and refreshed every minute. β° An unavailable zone or zone-listing error is logged without preventing CoreDNS from starting or other configured zones from being updated. Each zone listing, including retries and pagination, has a one-minute timeout. Configuration and credential initialization errors still prevent startup β no cap. π
Caveat corner, bestie: until a zone has been successfully loaded, queries for it returnSERVFAILunlessfallthroughis explicitly configured. π
Only complete, successful updates replace the in-memory zone. Failed updates, including a deleted Azure zone returning an error, retain the last successfully loaded data and are retried. Remove the zone from the Corefile to stop serving this retained data. Snapshots are not persisted across restarts or configuration reloads. π«Ά
β¨ SYNTAX β¨
Here's the whole syntax vibe πͺ:
azure RESOURCE_GROUP:ZONE... {
tenant TENANT_ID
client CLIENT_ID
secret CLIENT_SECRET
subscription SUBSCRIPTION_ID
environment ENVIRONMENT
fallthrough [ZONES...]
access private
}
RESOURCE_GROUP:ZONEβ the resource group on Azure to which the hosted zones belongs, andZONEis the zone that contains data. ποΈCLIENT_IDandCLIENT_SECRETβ the credentials for Azure, andtenantspecifies theTENANT_IDto be used.SUBSCRIPTION_IDis the subscription ID. All of these are needed to access the data in Azure. πenvironmentβ specifies the AzureENVIRONMENT. πfallthroughβ If zone matches and no record can be generated, pass request to the next plugin. IfZONESis omitted, then fallthrough happens for all zones for which the plugin is authoritative. πͺaccessβ specifies if the zone is public or private. Default ispublic. π
π EXAMPLES π
Enable the azure plugin with Azure credentials for private zones example.org, example.private:
example.org {
azure resource_group_foo:example.org resource_group_foo:example.private {
tenant 123abc-123abc-123abc-123abc
client 123abc-123abc-123abc-234xyz
subscription 123abc-123abc-123abc-563abc
secret mysecret
access private
}
}
π¦ SEE ALSO π¦
The Azure DNS Overview β¨https://docs.microsoft.com/en-us/azure/dns/dns-overviewβ©. π
mwah π β that's the COREDNS-AZURE(7) page from CoreDNS, dated October 2026. bye bestie, go slay your zones π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: coredns-extras 1.15.0-bp160.1.1 Β· Apache-2.0 AND MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms