--- id: azure-mgmt-privatedns version: "2.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-privatedns — Microsoft Azure Privatedns Management Client Library for Python License: permissive · Maintenance: active · Downloads: 5.8M/mo ## 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 above — 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 pip install azure-mgmt-privatedns uv add azure-mgmt-privatedns 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_current - Install friction: low - Maintenance: active - Downloads: 5.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure private dns management, azure dns zones python, manage private dns records, azure privatedns client, azure resource manager dns, azure-sdk, dns-management, cloud-infrastructure [View on SkillFed](https://skillfed.io/packages/azure-mgmt-privatedns) · [View on PyPI](https://pypi.org/project/azure-mgmt-privatedns/)