Skip to main content

Porkbun DNS provider for octoDNS

Project description

octodns-porkbun

Porkbun DNS provider for octoDNS, powered by oinker.

CI PyPI version Python 3.13+

Installation

pip install octodns-porkbun

Configuration

providers:
  porkbun:
    class: octodns_porkbun.PorkbunProvider
    api_key: env/PORKBUN_API_KEY
    secret_key: env/PORKBUN_SECRET_KEY

Environment Variables

If api_key or secret_key are not provided in the config, the provider will fall back to environment variables:

  • PORKBUN_API_KEY
  • PORKBUN_SECRET_KEY

Supported Record Types

  • A
  • AAAA
  • ALIAS
  • CAA
  • CNAME
  • HTTPS
  • MX
  • NS
  • SRV
  • SSHFP
  • SVCB
  • TLSA
  • TXT

Example Usage

providers:
  porkbun:
    class: octodns_porkbun.PorkbunProvider
    api_key: env/PORKBUN_API_KEY
    secret_key: env/PORKBUN_SECRET_KEY

  config:
    class: octodns.source.YamlProvider
    directory: ./zones

zones:
  example.com.:
    sources:
      - config
    targets:
      - porkbun

Development

# Install dependencies
uv sync --dev

# Run checks
make check

# Run individual checks
make lint
make typecheck
make test

License

MIT

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_porkbun-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

octodns_porkbun-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file octodns_porkbun-0.1.0.tar.gz.

File metadata

  • Download URL: octodns_porkbun-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for octodns_porkbun-0.1.0.tar.gz
Algorithm Hash digest
SHA256 004432251f3f7938f2ee6a0e89db0aa88094a7f03ac274572b9c51a182463dfe
MD5 e97f2422e37205b3f319bf98a87205ca
BLAKE2b-256 7712f5f3e7c64642e7be86a43d50f95665c61158833a92990a3ae0760fe0357b

See more details on using hashes here.

Provenance

The following attestation bundles were made for octodns_porkbun-0.1.0.tar.gz:

Publisher: publish.yml on major/octodns-porkbun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file octodns_porkbun-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for octodns_porkbun-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76195d932c10ce04cfb85591c020f26d6cbf908dd1013e6fe208e7006179bc3a
MD5 4c0fc58fe3acc3f768fa91952db079d0
BLAKE2b-256 a1b0ad2d17d025e16769d5e885f1ef61d1218c6dc8242eae1ab1b9963a98125f

See more details on using hashes here.

Provenance

The following attestation bundles were made for octodns_porkbun-0.1.0-py3-none-any.whl:

Publisher: publish.yml on major/octodns-porkbun

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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