ddclient

作者: 钾肥尔德 | 来源:发表于2020-03-09 20:43 被阅读0次
yum -y install epel-release && yum -y update
yum -y install ddclient
mv /etc/ddclient.conf /etc/ddclient.conf.original

cat > /etc/ddclient.conf <<EOF
daemon=300                          # Time, in seconds, to check for IP change and to send update
ssl=yes                         # Whether to use ssl to send update; you want this
use=web, web=checkip.dyndns.com/, web-skip='IP Address' # Leave these settings as is
protocol=namecheap                      # This tells ddclient that we are using namecheap
server=dynamicdns.park-your-domain.com          # Server name for namecheap's dynmic dns service; do not modify
login=your-domain-name.com                   # Your root domain name that you want to update dynamic dns on
password=randomstringofcharacters               # This is your dynamic dns password, provided by namecheap
hostname.your-domain-name.com                          # OPTIONALLY, set a HOST value if you want to apply this to a sub-domain
EOF
systemctl enable ddclient
systemctl start ddclient

相关文章

网友评论

      本文标题:ddclient

      本文链接:https://www.haomeiwen.com/subject/ysrmdhtx.html