azure-mgmt-dns
Microsoft Azure DNS Management Client Library for Python
What it is and what it does
azure-mgmt-dns is the Microsoft Azure DNS Management Client Library for Python. It wraps the Azure Resource Manager DNS API, allowing you to create, read, update, and delete DNS zones and record sets directly from Python code. The package depends on isodate, typing-extensions, azure-common, and azure-mgmt-core for shared Azure SDK infrastructure and date handling.
Version 9.0.0 is a breaking-change release that targets only the latest Azure API version and removes DNSSEC-related operations (dnssec_configs operation group, DsRecord, TlsaRecord, NaptrRecord models, and related fields on RecordSet and Zone). If your code relies on those features, you must pin to an earlier version. The package requires Python 3.9+ and Azure Active Directory credentials configured via environment variables.
Use it for:
- Automate DNS zone creation and record management for infrastructure-as-code deployments.
- Programmatically update DNS records in response to application events or scaling operations.
- Bulk migrate or synchronize DNS records across Azure subscriptions or environments.
- Integrate DNS management into CI/CD pipelines for dynamic hostname provisioning.
- Query and audit existing DNS zones and record sets across Azure resources.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure DNS resources—zones, record sets, and related configurations—through Python code using the Azure Resource Manager API.
Yes, if you need to manage Azure DNS from Python code and can target Python 3.9+ with Azure credentials configured. The package is actively maintained, has no known vulnerabilities, and installs with low friction. However, version 9.0.0 is a breaking release—verify that removal of DNSSEC operations and older API versions does not affect your existing workflows before upgrading.
Install
azure-mgmt-dns on PyPI
pip
pip install azure-mgmt-dnsuv
uv add azure-mgmt-dnspoetry
poetry add azure-mgmt-dnsInstalling azure-mgmt-dns
Before you install
Low friction install with 4 runtime dependencies. The package is actively maintained with recent releases and no known vulnerabilities.
License in practice
MIT License permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.
Quickstart
pip install azure-mgmt-dns
from azure.mgmt.dns import DnsManagementClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DnsManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.9+. Azure authentication environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be configured.
Verify before relying
- Whether version 9.0.0's removal of DNSSEC-related models and operations affects your existing DNS management workflows.
- Specific Azure API version targeted by this release and implications for legacy DNS configurations.
- Whether azure-identity is required as a runtime dependency or only for the authentication pattern shown in examples.
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — isodate, typing-extensions, azure-common, azure-mgmt-core |
| Maintenance | actively maintained — 396 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,268,529/month — #2,678 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_dns-9.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-appconfigurationManages Azure App Configuration resources…
permissive · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-privatednsManages Azure Private DNS zones, record sets,…
permissive · top 5,000 on PyPI
azure-mgmt-coreProvides ARM-specific extensions to Azure Core…
permissive · top 1,000 on PyPI
azure-mgmt-datalake-storeManages Azure Data Lake Store accounts,…
permissive · top 5,000 on PyPI
dnspythondnspython is a DNS toolkit that handles…
permissive · top 1,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI