Skip to main content

auto config dns

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

auto_ddns-0.0.7-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file auto_ddns-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: auto_ddns-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for auto_ddns-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4f91cbe3eb6c72a255cc5d5bd0a33353fe2ff8d9ff9f5de23d857c642f915bc6
MD5 3d35affecefc1f076727540248cb63cc
BLAKE2b-256 018db9a92b703f1baa6c73611b090d3e9a355c46376a0dca72183b609b2c0e14

See more details on using hashes here.

Supported by

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