google-cloud-dns
Google Cloud DNS API client library
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10; GCP project with Cloud DNS API enabled and valid authentication credentials configured.
- Low install friction; single lightweight dependency on google-cloud-core.
- Actively maintained with recent releases; repository shows active development and community engagement.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
last release 2026-05-07 (99 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 406,879 downloads/mo, #6,893 on PyPI
Alternatives
Verify before relying
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()- 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.
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 on this page. Verify before relying on it.
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
google-cloud-dns on PyPI
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.
Requires Python >= 3.10; GCP project with Cloud DNS API enabled and valid authentication credentials configured.
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()
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 the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagegoogle-cloud-core |
| Maintenance | Actively maintained 99 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 406,879 / month, #6,893 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_dns-0.37.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google cloud dns python client”
- google-cloud-dnsPython client library for Google Cloud DNS API that lets you manage…
- vultrA Python client library for the Vultr.com API, enabling programmatic…
- dns-lexicondns-lexicon provides a unified Python interface to create, read,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-monitoring · google-cloud-access-context-manager · google-cloud-build · google-cloud-orchestration-airflow · dns-lexicon · google-cloud-billing · google-cloud-logging · google-cloud · google-compute-engine · google-api-python-client