Releases: NewFuture/DDNS
v4.0.0-beta4
What's Changed
优化docker,和二进制发布
- buid(bin):binary for musl by @NewFuture in #472
- build(bin): 统一Linux build python 版本,添加Glibc 支持 by @NewFuture in #473
- fix 非utf8的编码问题
Full Changelog: v4.0.0-beta3...v4.0.0-beta4
各版本一览表 (Download Methods Overview)
| 系统环境 (System) | 架构支持 (Architecture) | 说明 (Description) |
|---|---|---|
| Docker | newfuture/ddns:v4.0.0-beta4 |
支持8种架构 🚀 Supports 8 architectures Github Registry + Docker Hub |
| Windows | 64-bit (ddns-windows-x64.exe) 32-bit (ddns-windows-x86.exe) ARM (ddns-windows-arm64.exe) |
已在 Windows 10 和 Windows 11 测试通过 Tested on Windows 10 and Windows 11 |
| GLIBC Linux | 64-bit (ddns-glibc-linux_amd64) 32-bit (ddns-glibc-linux_386) ARM64 (ddns-glibc-linux_arm64) ARM/V7 (ddns-glibc-linux_arm_v7) |
常规Linux桌面或服务器版,需GLIBC≥2.28,如 Debian 9+,Ubuntu 20.04+,CentOS 8+ 🐧 For common Linux desktop/server with GLIBC ≥2.28 |
| Musl Linux | 64-bit (ddns-musl-linux_amd64) 32-bit (ddns-musl-linux_386) ARM64 (ddns-musl-linux_arm64) ARM/V7 (ddns-musl-linux_arm_v7) ARM/V6 (ddns-musl-linux_arm_v6) |
适用于OpenWRT及嵌入式设备musl≥1.1.24,如OpenWRT 19+,ARMv6未测试 🛠️ For OpenWRT and embedded devices using musl (≥1.1.24), e.g., OpenWRT 19+. ARMv6 not tested |
| Mac OS | ARM/M-chip (ddns-mac-arm64) Intel x86_64 (ddns-mac-x64) |
仅虚拟环境测试,未真机测试 🍎 Tested in virtual environments only |
| PIP | ddns=v4.0.0-beta4 (全平台) |
可通过pip/pip2/pip3/easy_install安装,部分环境自动添加到PATH 📦Installable via pip and other tools |
| Python | 源码(全平台)Source code | 可直接运行于Python 2.7或Python 3环境,无额外依赖 🐍 Directly runnable with Python 2.7 or Python 3, no extra dependencies |
Docker (推荐 Recommended) 

# 当前版本 (Current version)
docker --name ddns -v $(pwd)/:/DDNS newfuture/ddns:v4.0.0-beta4 -h
# 最新版本 (Latest version, may use cache)
docker --name ddns -v $(pwd)/:/DDNS newfuture/ddns -h请将 $(pwd)/ 替换为你的配置文件夹。(Replace $(pwd)/ with your configuration folder.)
- 使用
-h查看命令行帮助 (Use-hfor command-line help) - 配置文件config.json支持编辑器自动提示 (config.json supports auto-completion in editors)
- 支持环境变量
DDNS_XXX(Supports environment variablesDDNS_XXX)
支持源 (Supported registries):
- Docker官方源 (Docker Hub): docker.io/newfuture/ddns
- Github官方源 (Github Registry): ghcr.io/newfuture/ddns
二进制文件 (Executable Binary) 
各平台下载和使用方式 (Download and Usage per platform):
-
Windows
- 下载 (Download)
ddns-windows-x64.exe或 (or)ddns-windows-x86.exe或 (or)ddns-windows-arm64.exe保存为 (save as)ddns.exe并运行 (and run) - [可选 Optional] 定时任务 (Scheduled task): 下载 (Download)
create-task.bat于相同目录 (in same directory),以管理员权限运行 (run as administrator)
Linux
# 常规Linux (glibc x64)
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta4/ddns-glibc-linux_amd64 -#SLo ddns && chmod +x ddns
# OpenWRT/嵌入式 (musl arm64)
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta4/ddns-musl-linux_arm64 -#SLo ddns && chmod +x ddns
# 其他版本请自行替换链接 (Replace URL for other versions)
# 可选定时任务 (仅支持systemd系统)
# Optional scheduled task (systemd only)
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta4/create-task.sh | bashMacOS
# ARM64 (M芯片)
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta4/ddns-mac-arm64 -#SLo ddns && chmod +x ddns
# Intel x64
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta4/ddns-mac-x64 -#SLo ddns && chmod +x ddns使用pip安装 (Install via PIP)

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v4.0.0-beta4 - 更新最新版[update latest version]:
pip install -U ddns
v4.0.0-beta3
What's Changed
- feat(config): Optimize configuration file loading logic by @NewFuture in #468
Full Changelog: v4.0.0-beta2...v4.0.0-beta3
版本下载方式一览表
| 平台/方式 | 架构支持 |
|---|---|
| Docker | newfuture/ddns:v4.0.0-beta3 8种架构 |
| Windows | 64位(x64) / 32位(x86) / arm64 |
| Linux | 64位(x64) / arm64 |
| Mac OS X | Apple Silicon (ARM64) / Intel x64 |
| Python/PIP | any |
Docker (推荐) 

# 当前版本
docker --name ddns -v $(pwd)/:/DDNS newfuture/ddns:v4.0.0-beta3 -h
# 最新版本(可能有缓存)
docker --name ddns -v $(pwd)/:/DDNS newfuture/ddns -h请将 $(pwd)/ 替换为你的配置文件夹。
- 命令行参数使用
-h - 配置文件config.json,使用vscode等编辑会有自动提示
- 环境变量
DDNS_XXX
支持源:
- Docker官方源: docker.io/newfuture/ddns
- Github镜像源: ghcr.io/newfuture/ddns
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns-windows-x64.exe或者ddns-windows-x86.exe或者ddns-windows-arm64.exe保存为ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
-
Linux 系统
# 1. 下载ddns
# x64 版本
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta3/ddns-linux-x64 -#SLo ddns && chmod +x ddns
# arm64 版本
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta3/ddns-linux-arm64 -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta3/create-task.sh | bash-
Mac OSX
# 命令行下载
# arm64
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta3/ddns-mac-arm64 -#SLo ddns && chmod +x ddns
# intel x64
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta3/ddns-mac-x64 -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v4.0.0-beta3 - 更新最新版[update latest version]:
pip install -U ddns
v4.0.0-beta2
What's Changed
- using Nuitka for binary build by @NewFuture in #456
- docker build multi-arch by + PR 检查+ 优化docker镜像 by @NewFuture in #458 #457 #459
- Reintroduce Python 2 Compatibility in setup.py (#460) by @NewFuture in #462
- update icons 优化.ico by @NewFuture in #461 #467
- build Linux version in centos docker by @NewFuture in #464
- 重构日志配置,移除调试模式,添加日志级别和输出文件选项;更新配置文件模式至v4.0 by @NewFuture in #465
- Update release actions and documentation and config by @NewFuture in #466
Full Changelog: v3.1.5...v4.0.0-beta2
版本下载方式一览表
| 平台/方式 | 架构支持 |
|---|---|
| Docker | newfuture/ddns:v4.0.0-beta2 8种架构 |
| Windows | 64位(x64) / 32位(x86) / arm64 |
| Linux | 64位(x64) / arm64 |
| Mac OS X | Apple Silicon (ARM64) / Intel x64 |
| Python/PIP | any |
Docker (推荐) 

# 当前版本
docker --name ddns -v $(pwd)/:/DDNS newfuture/ddns:v4.0.0-beta2 -h
# 最新版本(可能有缓存)
docker --name ddns -v $(pwd)/:/DDNS newfuture/ddns -h请将 $(pwd)/ 替换为你的配置文件夹。
- 命令行参数使用
-h - 配置文件config.json,使用vscode等编辑会有自动提示
- 环境变量
DDNS_XXX
支持源:
- Docker官方源: docker.io/newfuture/ddns
- Github镜像源: ghcr.io/newfuture/ddns
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns-windows-x64.exe或者ddns-windows-x32.exe或者ddns-windows-arm64.exe保存为ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
-
Linux 系统
# 1. 下载ddns
# x64 版本
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta2/ddns-linux-x64 -#SLo ddns && chmod +x ddns
# arm64 版本
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta2/ddns-linux-arm64 -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta2/create-task.sh | bash-
Mac OSX
# 命令行下载
# arm64
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta2/ddns-mac-arm64 -#SLo ddns && chmod +x ddns
# intel x64
curl https://github.com/NewFuture/DDNS/releases/download/v4.0.0-beta2/ddns-mac-x64 -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v4.0.0-beta2 - 更新最新版[update latest version]:
pip install -U ddns
v3.1.6
What's Changed
- 兼容python2
Full Changelog: v3.1.5...v3.1.6
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v3.1.6/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v3.1.6/create-task.sh | bash-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v3.1.6/ddns-osx -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v3.1.6 - 更新最新版[update latest version]:
pip install -U ddns
v3.1.5
What's Changed
- 更改linux系统下,index6 正则获取本地ip的命令优先级 by @Elec4d0 in #441
- build(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot in #446
- get_ip whith try/catch by @zctmdc in #453
- fix(run): remove legacy regex support and fix lint by @NewFuture in #454
New Contributors
- @Elec4d0 made their first contribution in #441
- @dependabot made their first contribution in #446
- @zctmdc made their first contribution in #453
Full Changelog: v3.0.2...v3.1.5
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v3.1.5/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v3.1.5/create-task.sh | bash-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v3.1.5/ddns-osx -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v3.1.5 - 更新最新版[update latest version]:
pip install -U ddns
v3.0.2
What's Changed
- fix(run): domain name uniformly lowercase to avoid problems by @laozhoubuluo in #433
- 修改UA。 by @char-46 in #435
- 修改查询IP的API。 by @char-46 in #436
Full Changelog: v3.0.0...v3.0.2
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v3.0.2/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v3.0.2/create-task.sh | bash-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v3.0.2/ddns-osx -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v3.0.2 - 更新最新版[update latest version]:
pip install -U ddns
v3.0.0
pre release v3.0.0
What's Changed
- fix: proxy config by @rxbit in #398
- V3 by @NewFuture in #423
- 服务商修改了地址 by @mattholy in #420
- 修复windows下定时任务重定向失败的BUG by @LeadroyaL in #414
- 华为云支持配置TTL by @b1n23 in #424
New Contributors
- @rxbit made their first contribution in #398
- @mattholy made their first contribution in #420
- @b1n23 made their first contribution in #424
Full Changelog: v2.13.3...v3.0.0
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v3.0.0/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v3.0.0/create-task.sh | bash-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v3.0.0/ddns-osx -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v3.0.0 - 更新最新版[update latest version]:
pip install -U ddns
v2.13.3
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v2.13.3/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v2.13.3/create-task.sh | bash-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v2.13.3/ddns-osx -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v2.13.3 - 更新最新版[update latest version]:
pip install -U ddns
What's Changed
- skip pyinstaller for py 2.7 by @NewFuture in #393
- 修复cache为False时的崩溃问题 by @LeadroyaL in #389
- fix windows release by @NewFuture in #394 #395
New Contributors
- @LeadroyaL made their first contribution in #389
Full Changelog: v2.12.0...v2.13.3
release v2.12.0
feat(run): support custom cache file (#376) * feat(run): support custom cache file * fix cannot using C style conditional operator * fix lint * fix lint
v2.11.5
使用二进制文件 
各平台下载/使用方式
-
Windows
- 下载
ddns.exe运行 - [可选] 定时任务 下载
create-task.bat于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v2.11.5/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v2.11.5/create-task.sh | bash-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v2.11.5/ddns-osx -#SLo ddns && chmod +x ddns使用PIP 安装

Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v2.11.5 - 更新最新版[update latest version]:
pip install -U ddns
What's Changed
- Support environment variables in Docker image by @NN708 in #304
- feat(cf): keep proxied config in cloudflare by @NewFuture in #314
- Fix #324 by @Anankke in #325
- (doc):remove interface by @NewFuture in #327
- fix(dnspod_com): resolve #286 by @NewFuture in #329
- publish pypi with github actions by @NewFuture in #331
- remove azure pipelines by @NewFuture in #339
- Replace version by @NewFuture in #340
- doc(readme):update release badge by @NewFuture in #341
- ci(publish.yml): update action-gh-releas by @NewFuture in #342
New Contributors
Full Changelog: v2.10.3...v2.11.5