Skip to main content

ChatDNS: ChatArch DNS record, DDNS, and provider helper extracted from ChatTool.

Project description

PyPI version Tests Docs

ChatDNS

ChatDNS is a ChatArch DNS helper extracted from ChatTool. It provides a standalone chatdns CLI and importable Python API for DNS record management, DDNS updates, provider clients, IP detection, DNS-01 certificate automation, and MCP registration.

Commands

chatdns --help
chatdns list
chatdns --env work list --provider tencent
chatdns records example.com
chatdns records test.example.com
chatdns set test.example.com -t A -v 1.2.3.4
chatdns delete test.example.com -t A -v 1.2.3.4 --yes
chatdns ip
chatdns cert apply -d example.com -d '*.example.com' -e admin@example.com --provider aliyun
chatdns cert check example.com

Supported providers in this release:

  • Aliyun DNS
  • Tencent Cloud DNSPod

Certificate management from the old chattool dns cert surface is now available as chatdns cert. It uses ACME DNS-01 validation and writes TXT records through the configured DNS provider. Treat live certificate issuance as an external side effect: test with --staging first and verify provider credentials before production use.

Configuration

ChatDNS reads provider credentials and defaults from environment / ChatEnv-compatible config fields:

  • CHATDNS_PROVIDER (default DNS provider/channel: aliyun or tencent)
  • ALIBABA_CLOUD_ACCESS_KEY_ID
  • ALIBABA_CLOUD_ACCESS_KEY_SECRET
  • ALIBABA_CLOUD_REGION_ID
  • TENCENT_SECRET_ID
  • TENCENT_SECRET_KEY
  • TENCENT_REGION_ID

Active ChatEnv profiles are loaded automatically from $CHATARCH_HOME/envs (default: ~/.chatarch/envs). Use the global --env/-e option before the command to select a named provider profile, for example chatdns --env work list -p tencent.

Provider aliases are registered through the package's chatenv.configs entry point as chatdns.config.

Development

python -m pytest -q
chatpypi build --project-dir .
chatpypi check --project-dir .
PYTHONPATH=src python -m chatdns.cli --help

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

chatdns-0.1.2.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

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

chatdns-0.1.2-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file chatdns-0.1.2.tar.gz.

File metadata

  • Download URL: chatdns-0.1.2.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chatdns-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b4b832718def4a6836b42cd78c736136f7b5175dc0f7f49e56b4fb2db5bc947
MD5 e7c12f17b66b53da8818b53df74b3f66
BLAKE2b-256 3f8539ba6571d8985843da469a29367f19cef9c529a9552150835381e8b98a35

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatdns-0.1.2.tar.gz:

Publisher: publish.yml on ChatArch/ChatDNS

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

File details

Details for the file chatdns-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: chatdns-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chatdns-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 96ee34ad9d9094b11336b362017f72c2c46bb0074590fda14c60f8fdb3e715d9
MD5 022deed8363f713999a0f7c8c616e36e
BLAKE2b-256 fe3fd0b0524c7f2887396080ff1921efcf0966dfbf8b5c40369d845912a7b8de

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatdns-0.1.2-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatDNS

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