Skip to main content

Google Cloud DNS provider for octoDNS

An octoDNS provider that targets Google Cloud DNS.

Installation

Command line

pip install octodns-googlecloud

requirements.txt/setup.py

Pinning specific versions or SHAs is recommended to avoid unplanned upgrades.

Versions
# Start with the latest versions and don't just copy what's here
octodns==0.9.14
octodns-googlecloud==0.0.1
SHAs
# Start with the latest/specific versions and don't just copy what's here
-e git+https://git@github.com/octodns/octodns.git@9da19749e28f68407a1c246dfdf65663cdc1c422#egg=octodns
-e git+https://git@github.com/octodns/octodns-googlecloud.git@ec9661f8b335241ae4746eea467a8509205e6a30#egg=octodns_googlecloud

Configuration

providers:
  googlecloud:
    class: octodns_googlecloud.GoogleCloudProvider
    # Credentials file for a service_account or other account can be
    # specified with the GOOGLE_APPLICATION_CREDENTIALS environment
    # variable. (https://console.cloud.google.com/apis/credentials)
    #
    # The project to work on (not required)
    # project: foobar
    #
    # The File with the google credentials (not required). If used, the
    # "project" parameter needs to be set, else it will fall back to the
    #  "default credentials"
    # credentials_file: ~/google_cloud_credentials_file.json
    #
    # GoogleCloudProvider submits changes in batches. The default batch size
    # is 1000, which is also roughly the maximum size that google supports.
    # If your plan & apply makes more than batch_size changes they will be
    # broken up into smaller sets of at most that size.
    # batch_size: 1000
    #
    # Optionally restrict hosted zone lookup to only private or public zones.
    # Set to true to only use private zones, false for public zones, or omit for no restriction.
    # If set to true, zone creation is disabled, cause gcp python dns api doesn't allow to create private zone
    #private: False

Support Information

Records

GoogleCloudProvider supports A, AAAA, CAA, CNAME, MX, NAPTR, NS, PTR, SPF, SRV, and TXT

Root NS records

GoogleCloudProvider support full root NS record management

Dynamic

GoogleCloudProvider does not support dynamic records.

Development

See the /script/ directory for some tools to help with the development process. They generally follow the Script to rule them all pattern. Most useful is ./script/bootstrap which will create a venv and install both the runtime and development related requirements. It will also hook up a pre-commit hook that covers most of what's run by CI.

Metadata

Release files for octodns-googlecloud 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octodns-googlecloud 1.1.0
File Size Uploaded Provenance Actions
octodns_googlecloud-1.1.0.tar.gz 12.8 kB Without provenance Details for octodns_googlecloud-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for octodns-googlecloud 1.1.0
File Interpreter ABI Platform Actions
octodns_googlecloud-1.1.0-py3-none-any.whl Python 3 none any Details for octodns_googlecloud-1.1.0-py3-none-any.whl

Total release size: 20.4 kB

Release files / octodns_googlecloud-1.1.0.tar.gz

Download URL octodns_googlecloud-1.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e8eab13f1ea7ec72c94503f581b548c3dd75aafda1f98160358fe02b7f95a20c
BLAKE2b-256 checksum
How to use checksums
582c7f2ca2d0f70ab8818b90d4d62f96f1e240ef0c3da68a82e48de0e55a086c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / octodns_googlecloud-1.1.0-py3-none-any.whl

Download URL octodns_googlecloud-1.1.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4261cff9f89dc565bcd1270521388479336f4a06d1eeb9e1570cd25b5e12a5b0
BLAKE2b-256 checksum
How to use checksums
ff9b1b2e951c4a757d4e1edd5ce8814e9f96b70c2031a2f2b160d397494f3b2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for octodns-googlecloud 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page