--- id: google-cloud-dns version: "0.37.0" license: Apache 2.0 license_treatment: permissive maintenance: active --- # google-cloud-dns — Google Cloud DNS API client library License: permissive · Maintenance: active · Downloads: 406.9K/mo ## What it is and what it does google-cloud-dns is the official Python client for Google Cloud DNS, a managed DNS hosting service on GCP. It wraps the Cloud DNS API to let you create, read, update, and delete DNS zones and resource record sets programmatically. The library depends only on google-cloud-core, keeping the dependency footprint minimal. You use it to automate DNS management tasks—registering domains, updating records, managing zone configurations—without manual console interaction. It's built for developers running applications on GCP who need to manage DNS as infrastructure code or integrate DNS operations into deployment pipelines. Use it for: - Automate DNS record creation and updates during application deployment or infrastructure provisioning. - Manage multi-environment DNS configurations (dev, staging, production) programmatically. - Build DNS management tools or dashboards that interact with GCP DNS zones. - Integrate DNS operations into CI/CD pipelines for dynamic DNS updates. - Sync DNS records between GCP and other systems via custom scripts. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for Google Cloud DNS API that lets you manage DNS records and zones for applications hosted on Google Cloud Platform. Yes, if you manage DNS on GCP. The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. It's the standard way to interact with Cloud DNS from Python. The only gotcha is the hard requirement for Python >= 3.10 and valid GCP credentials. ## Install pip install google-cloud-dns uv add google-cloud-dns poetry add google-cloud-dns ## Installing google-cloud-dns Before you install: Low install friction; single lightweight dependency on google-cloud-core. Actively maintained with recent releases; repository shows active development and community engagement. License in practice: Apache 2.0 permissive license allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions. Quickstart: pip install google-cloud-dns from google.cloud import dns client = dns.Client(project='your-gcp-project') zone = client.zone('example-zone') recordsets = zone.list_resource_record_sets() Requires Python >= 3.10; GCP project with Cloud DNS API enabled and valid authentication credentials configured. Verify before relying: - Specific DNS record types and operations supported beyond basic zone/recordset management. - Performance characteristics and rate limits for bulk DNS operations. - Whether the library supports all current Cloud DNS API features or lags behind the service. ## Package facts - License: Apache 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 406.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud dns python client, manage dns records gcp, cloud dns api library, dns zone management python, gcp dns automation, cloud dns python sdk, gcp-integration, dns-management, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/google-cloud-dns) · [View on PyPI](https://pypi.org/project/google-cloud-dns/)