# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 ddclient

查看 ddclient 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ddclient
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ddclient
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ddclient
```

  证据: MacPorts ports tree: net/ddclient/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ddclient
```

  证据: Alpine Linux edge package indexes: ddclient from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ddclient
```

  证据: Debian stable package indexes: ddclient from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ddclient
```

  证据: Fedora Rawhide package metadata: ddclient from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ddclient
```

  证据: nixpkgs package indexes: pkgs/by-name/dd/ddclient/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ddclient
```

  证据: Arch Linux sync databases: ddclient from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ddclient
```

  证据: openSUSE Tumbleweed package metadata: ddclient from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:ddclient
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ddclient>
- **版本:** 4.0.0
- **来源摘要:** Update dynamic DNS entries
- **主页:** <https://ddclient.net/>
- **仓库:** <https://github.com/ddclient/ddclient>
- **上游文档:** <https://ddclient.net/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/ddclient/ddclient/releases/download/v4.0.0/ddclient-4.0.0.tar.gz>
- **最后更新:** 2026-07-28T13:41:31+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ddclient (cli)
- ddclient (别名)

## macOS 提供的库

- perl

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: For ddclient to work, you will need to customise the configuration file at `$HOMEBREW_PREFIX/etc/ddclient/ddclient.conf`. Note: don't enable daemon mode in the configuration file; see additional information below. The next reboot of the system will automatically start ddclient. You can adjust the execution interval by changing the value of StartInterval (in seconds) in /Library/LaunchDaemons/homebrew.mxcl.ddclient.plist.
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.0.0
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/ddclient/ddclient
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

ddclient is a Perl dynamic DNS update client for many DNS service providers. Its README says it updates dynamic DNS entries, uses curl for internet access, and supports Linux, macOS, and other Unix-like systems.

### 项目历史

The README credits Paul Burry as the original author and says the project is now maintained through GitHub. The GitHub repository was created in 2012, while the modern 4.x series moved the default configuration path into /etc/ddclient/ddclient.conf.

### 采用历史

ddclient became a common distribution package because dynamic DNS is a recurring home-lab, small-server, and broadband-router need. The README explicitly recommends installing an operating-system package where available and lists many supported providers.

### 使用方式

A typical install edits /etc/ddclient/ddclient.conf with provider credentials, hostnames, and IP-discovery settings, then runs ddclient as a daemon or service. The README includes systemd setup and troubleshooting commands such as ddclient --daemon=0 --debug --verbose.

### 为什么软件包爱好者会关心

For package nerds, ddclient is a classic network daemon package: small, configurable, service-managed, and shaped by provider churn. Its changelog shows the maintenance burden of tracking DNS providers, protocol changes, TLS defaults, and distribution-friendly config migrations.

### 时间线

- 2012: GitHub repository created
- 2025: v4.0.0 release changed the default config location to /etc/ddclient/ddclient.conf
- 2026: v4.0.1-rc.1 release published

### Related projects

- inadyn, dnsupdate, nsupdate, systemd

### 来源

- <https://ddclient.net/>
- <https://github.com/ddclient/ddclient>
- <https://github.com/ddclient/ddclient#readme>
- <https://github.com/ddclient/ddclient/blob/main/ChangeLog.md>
- <https://github.com/ddclient/ddclient/releases/tag/v4.0.0>
- <https://api.github.com/repos/ddclient/ddclient>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/ddclient/ddclient.conf

## Credential files

- Unix: /etc/ddclient/ddclient.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ddclient
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - ddclient - 3.11.2-2: normalized package name match | Debian stable package indexes: ddclient from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | address updating utility for dynamic DNS services | https://ddclient.net
- Nix - ddclient: normalized package name match | nixpkgs package indexes: pkgs/by-name/dd/ddclient/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ddclient - 3.10.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: ddclient from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | address updating utility for dynamic DNS services | https://ddclient.net
- apk - ddclient - 4.0.0-r2: normalized package name match | Alpine Linux edge package indexes: ddclient from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ddclient is a Perl client used to update dynamic DNS entries for accounts on 'Dynamic DNS Network Services' free DNS service. | https://ddclient.net/
- apk - ddclient-doc - 4.0.0-r2: normalized package name match | Alpine Linux edge package indexes: ddclient-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ddclient documentation | https://ddclient.net/
- apk - ddclient-openrc - 4.0.0-r2: normalized package name match | Alpine Linux edge package indexes: ddclient-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ddclient is a Perl client used to update dynamic DNS entries for accounts on 'Dynamic DNS Network Services' free DNS service. (OpenRC init scripts) | https://ddclient.net/
- dnf - ddclient - 4.0.0-11.fc45: normalized package name match | Fedora Rawhide package metadata: ddclient from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Client to update dynamic DNS host entries | https://ddclient.net/
- pacman - ddclient - 4.0.0-1: normalized package name match | Arch Linux sync databases: ddclient from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Update dynamic DNS entries for accounts on many dynamic DNS services | https://github.com/ddclient/ddclient
- zypper - ddclient - 4.0.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ddclient from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Perl Client to Update Dynamic DNS Entries | https://github.com/ddclient/ddclient
- MacPorts - ddclient: normalized package name match | MacPorts ports tree: net/ddclient/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [knot](https://pkg.so/zh-hans/brew/knot/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [knot-resolver](https://pkg.so/zh-hans/brew/knot-resolver/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [nsd](https://pkg.so/zh-hans/brew/nsd/) - Shares pkgdb curated category or tags: cli, daemon, dns, networking.
- [ldns](https://pkg.so/zh-hans/brew/ldns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [bind](https://pkg.so/zh-hans/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [nextdns](https://pkg.so/zh-hans/brew/nextdns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [ddns-go](https://pkg.so/zh-hans/brew/ddns-go/) - Shares pkgdb curated category or tags: cli, dns, dynamic-dns, networking.
- [q](https://pkg.so/zh-hans/brew/q/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [ctrld](https://pkg.so/zh-hans/brew/ctrld/) - Local package facts share a topical domain. Shared terms: cli, daemon, dns, networking.
- [chinadns-c](https://pkg.so/zh-hans/brew/chinadns-c/) - Local package facts share a topical domain. Shared terms: cli, dns, networking.

## Combined YAML source

View the package source record on GitHub. [combined/ddclient.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ddclient.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
