skillfed

azure-mgmt-dns

Microsoft Azure DNS Management Client Library for Python

azure-mgmt-dns v9.0.0 3.3M downloads/30d#2,678 on PyPI5,588
Permissive license MIT License Active released

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-dns

uv

uv add azure-mgmt-dns

poetry

poetry add azure-mgmt-dns

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Tags

azure dns management pythonmanage azure dns zonesazure record set apiazure dns client librarydns resource management azureazure dns automationpython azure dns sdk
azure-sdkdns-managementcloud-infrastructure

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

azure-mgmt-trafficmanager

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-appconfiguration

Manages Azure App Configuration resources…

permissive · top 5,000 on PyPI

azure-mgmt-msi

Manages Azure Managed Service Identities…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-privatedns

Manages Azure Private DNS zones, record sets,…

permissive · top 5,000 on PyPI

azure-mgmt-core

Provides ARM-specific extensions to Azure Core…

permissive · top 1,000 on PyPI

azure-mgmt-datalake-store

Manages Azure Data Lake Store accounts,…

permissive · top 5,000 on PyPI

dnspython

dnspython is a DNS toolkit that handles…

permissive · top 1,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI