Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

showsmall/ddns

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使用文档详细说明

功能说明
配置文件说明
  • 根据配置文件:config.ini里面的注释修改
编译说明
  • go版本:go 1.20
  • git clone 主分支
  • go build
程序启动说明
  • 添加运行用户:useradd ddns
  • 使用systemd管理
  • 创建ddns.service
vim /etc/systemd/system/ddns.service 
[Unit]
Description=Prometheus
After=network.target
[Service]
Type=simple
WorkingDirectory=/Data/ddns
User=ddns
Group=ddns
ExecStart=/Data/ddns/tools -inifilename /Data/ddns/config.ini
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target

systemctl daemon-reload

# 启动ddns
systemctl start ddns.service
# 开启开机自动启动
systemctl enable ddns.service
# 查看运行状态
systemctl status ddns.service
依赖免费的解析提供商:http://dynv6.com
  • 具体注册使用不再说明

=============================English==================================

Documentation Details

Feature Description
  • Acquire dynamic public IP, supporting both IPv4 and IPv6
  • To enable IPv6 support, modify the update_ipv4_url in the configuration file to an IPv6 address, which can be obtained from http://dynv6.com. Also, change the get_wan_ip_url in the configuration file to: http://v6.ipinfo.io/
  • For IPv4, acquire the public IP address from:http://ipinfo.io/
  • For IPv6, acquire the public IP address from: http://v6.ipinfo.io/
Configuration File Description
  • Modify according to the comments in the configuration file: config.ini
Compilation Instructions
  • Go version:go 1.20
  • Git clone the master branch
  • Go build
Program Start-up Instructions
  • Add a runtime user: useradd ddns
  • Managed using systemd
  • Create ddns.service
vim /etc/systemd/system/ddns.service 
[Unit]
Description=Prometheus
After=network.target
[Service]
Type=simple
WorkingDirectory=/Data/ddns
User=ddns
Group=ddns
ExecStart=/Data/ddns/tools -inifilename /Data/ddns/config.ini
Restart=on-failure
RestartSec=5
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target

systemctl daemon-reload
# Start ddns
systemctl start ddns.service
# Enable auto-start at boot
systemctl enable ddns.service
# Check the running status
systemctl status ddns.service
Depends on the free DNS provider: http://dynv6.com
  • Specific registration and usage will not be explained further

About

dynv6.com的域名ip自动化更新客户端,支持ipv4和ipv6,客户端支持定时任务;A domain IP auto-update client for dynv6.com, supporting both IPv4 and IPv6, with the client supporting scheduled tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.