🗒️ddclient实现DDNS

type
status
date
slug
summary
tags
category
icon
password
作者最近在使用一些动态 IP 的 VPS,而这些 VPS 服务商大都因为害怕被攻击而不直接提供 DDNS,而是提供教程让我们自建 DDNS。Cloudflare 动态更新 DNS Record 的方式会稍微麻烦一些,因此大部分 VPS 服务商都不介绍这种方式,这里简单记录一下。

安装依赖

确认 libdata-validate-ip-perl 和 socket-ssl-perl 和安装 autotools 工具链 是否已经安装,如果没有安装可以通过以下命令安装。

DOWNLOAD 下载

Manual Installation 手动安装

  1. Extract the distribution tarball (.tar.gz file) and cd into the directory:
    1. 将分发 tarball( .tar.gz 文件)和 cd 提取到目录中:
      (If you are installing from a clone of the Git repository, you must run ./autogen before continuing to the next step.)
      (如果您从 Git 存储库的克隆进行安装,则必须运行 ./autogen ,然后才能继续下一步。)
  1. Run the following commands to build and install:
    1. 运行以下命令来构建和安装:
  1. Edit /etc/ddclient/ddclient.conf. 编辑 /etc/ddclient/ddclient.conf 。 配置文件内容可以参考
Password 参考
notion image

systemd 系统

enable automatic startup when booting
启用开机时自动启动
start the first time by hand
第一次手动开始
可以通过以下命令来验证配置是否正确。
Loading...

No results found.