Skip to main content

Gcore DNS v2 API provider for octoDNS

Project description

Gcore DNS v2 API provider for octoDNS

An octoDNS provider that targets Gcore DNS.

Installation

Command line

pip install octodns-gcore

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-gcore==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-gcore.git@ec9661f8b335241ae4746eea467a8509205e6a30#egg=octodns_gcore

Configuration

GCoreProvider

providers:
  gcore:
    class: octodns_gcore.GCoreProvider
    # Your API key
    token: env/GCORE_TOKEN
    token_type: APIKey
    # or login + password
    #login: env/GCORE_LOGIN
    #password: env/GCORE_PASSWORD
    #auth_url: https://api.gcore.com/iam
    #url: https://api.gcore.com/dns/v2
    #records_per_response: 1

Support Information

Records

Supports A, AAAA, ALIAS (CNAME flattening), NS, MX, TXT, SRV, CNAME, and PTR. CNAME flattening resolves both A and AAAA records and inherits the upstream TTL.

Root NS Records

The GCore provider supports full root NS record management.

Dynamic

Supports 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_gcore-1.0.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

octodns_gcore-1.0.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file octodns_gcore-1.0.0.tar.gz.

File metadata

  • Download URL: octodns_gcore-1.0.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for octodns_gcore-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7def15881be876b431de878de53350fcb7b5d887db1a26993cc680af8107af04
MD5 ac1c355e4c1821fb87d421d0fdc05b42
BLAKE2b-256 19b43b1601401e00296146c61ece69ace02e32c191924c4f7ccbc6518c881427

See more details on using hashes here.

File details

Details for the file octodns_gcore-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: octodns_gcore-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for octodns_gcore-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb7953f20f88050454fba496ed21239b70e6619bdfafd0efc13cf4eaf990f385
MD5 fe7042be60d93dc73f6ab6c18ea88daf
BLAKE2b-256 0f8947525f73028fc67567bc4416bf52b946031f628b2037a69c8c11f32104d9

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