skillfed

azure-mgmt-privatedns

Microsoft Azure Privatedns Management Client Library for Python

azure-mgmt-privatedns v2.0.0 5.8M downloads/30d#2,024 on PyPI5,588
Permissive license MIT Active released

What it is and what it does

This is the Microsoft Azure SDK client library for managing private DNS zones within Azure. It provides programmatic control over private DNS resources—zones, record sets, and virtual network links—through the Azure Resource Manager API. The package wraps REST endpoints and exposes them as Python classes and methods, allowing you to create, update, delete, and query private DNS infrastructure as code.

The library depends on isodate for date handling, azure-mgmt-core for common Azure SDK patterns, and typing-extensions for type hints. It requires Python 3.10 or later and authentication via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Version 2.0.0 introduces breaking changes around model structure and method signatures, moving resource properties into nested objects and replacing positional parameters with keyword-only arguments.

Use it for:

  • Provision and configure private DNS zones for Azure virtual networks in infrastructure-as-code workflows.
  • Automate DNS record creation and updates (A, AAAA, CNAME, MX, PTR, SOA, SRV, TXT) for internal services.
  • Link virtual networks to private DNS zones and manage registration and resolution policies programmatically.
  • Query existing private DNS resources and their metadata (system_data, provisioning state) for auditing or monitoring.
  • Integrate private DNS management into Azure deployment pipelines or multi-tenant provisioning systems.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages Azure Private DNS zones, record sets, and virtual network links via the Azure Resource Manager API.

Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and is part of the official Microsoft Azure SDK. Install it if you need to manage private DNS zones in Azure from Python. Be aware that version 2.0.0 contains breaking changes; review migration guidance if upgrading from earlier versions.

Install

azure-mgmt-privatedns on PyPI

pip

pip install azure-mgmt-privatedns

uv

uv add azure-mgmt-privatedns

poetry

poetry add azure-mgmt-privatedns

Installing azure-mgmt-privatedns

Before you install

Low install friction with a pure-Python wheel. Actively maintained; released 16 days ago with recent commits. Requires Python 3.10+.

License in practice

MIT license permits commercial and private use with minimal restrictions.

Quickstart

pip install azure-mgmt-privatedns

from azure.mgmt.privatedns import PrivateDnsManagementClient
from azure.mgmt.core import DEFAULT_MANAGEMENT_CREDENTIALS
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = PrivateDnsManagementClient(credential=DEFAULT_MANAGEMENT_CREDENTIALS, subscription_id=sub_id)

Requires Python 3.10+. Requires Azure subscription and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set for authentication.

Verify before relying

  • Whether version 2.0.0 breaking changes (hybrid models, method signature changes) affect existing codebases using earlier versions.
  • Performance characteristics when managing large numbers of record sets or virtual network links.
  • How to obtain and configure Azure credentials for authentication in different deployment environments.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 16 days since the last release
Last repo commit
First released
Downloads 5,847,216/month — #2,024 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_privatedns-2.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure private dns managementazure dns zones pythonmanage private dns recordsazure privatedns clientazure resource manager dns
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-network

Manages Azure network resources (virtual…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-dns

Manages Azure DNS resources—zones, record sets,…

permissive · top 5,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-domainregistration

Manages Azure domain registrations…

permissive · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-datafactory

Manages Azure Data Factory resources—factories,…

permissive · top 5,000 on PyPI

azure-mgmt-cdn

Manages Azure CDN resources (profiles,…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-recoveryservices

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI