Skip to main content

Auto-ddns

一个可扩展的 DNS 管理工具。

安装 Downloads

使用 pip/pipx 安装

在此之前请确保安装 Python3.10 及以上版本,并安装了 pip。

pip install auto-ddns[all]

如果想要尝试 Nightly 版本,可尝试(需确保使用Python3.12)

pip install git+https://github.com/zrr1999/auto-ddns@main

在此之前请确保安装了 pipx。

pipx install auto-ddns[all]

源码安装(需确保使用Python3.12)

git clone https://github.com/zrr1999/auto-ddns
cd auto-ddns
pip install .

使用说明

首先创建一个配置文件,例如 sdns.json,内容如下:

{
  "domain": "mydomain.com",
  "records": [
    [
      "test", // 也就是 test.mydomain.com 指向的路径
      "baidu.com" // 解析值,目前只支持 A 记录和 CNAME 记录,会根据此处的值自动判断
    ],
  ]
}

然后执行以下命令:

auto-ddns update --path ~/.config/auto-ddns/sdns.json

此时,你的解析记录就会增加一条 test.mydomain.com 的 CNAME 记录指向 baidu.com 。

维护者

@zrr1999

如何贡献

非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request。

贡献者

感谢以下参与项目的人:

使用许可

GNU © Rongrui Zhan

Metadata

Release files for auto-ddns 0.0.7

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

Built distribution (wheel)

Table of built distributions (wheels) for auto-ddns 0.0.7
File Interpreter ABI Platform
auto_ddns-0.0.7-py3-none-any.whl Python 3 none any Details

Release files / auto_ddns-0.0.7-py3-none-any.whl

Download URL auto_ddns-0.0.7-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f91cbe3eb6c72a255cc5d5bd0a33353fe2ff8d9ff9f5de23d857c642f915bc6
BLAKE2b-256 checksum
How to use checksums
018db9a92b703f1baa6c73611b090d3e9a355c46376a0dca72183b609b2c0e14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Security for auto-ddns 0.0.7

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