Skip to main content

Google Cloud DNS provider for octoDNS

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octodns_googlecloud-1.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

octodns_googlecloud-1.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file octodns_googlecloud-1.1.0.tar.gz.

File metadata

  • Download URL: octodns_googlecloud-1.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for octodns_googlecloud-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e8eab13f1ea7ec72c94503f581b548c3dd75aafda1f98160358fe02b7f95a20c
MD5 318635132a99131399ed5b273b1e32b4
BLAKE2b-256 582c7f2ca2d0f70ab8818b90d4d62f96f1e240ef0c3da68a82e48de0e55a086c

See more details on using hashes here.

File details

Details for the file octodns_googlecloud-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for octodns_googlecloud-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4261cff9f89dc565bcd1270521388479336f4a06d1eeb9e1570cd25b5e12a5b0
MD5 a20bf55d3bd75fa09df12135e73daee2
BLAKE2b-256 ff9b1b2e951c4a757d4e1edd5ce8814e9f96b70c2031a2f2b160d397494f3b2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page