7 Star 16 Fork 2

lvcs / dnspod

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

DNSPOD Bash Shell

基于DNSPod用户API实现的纯Shell动态域名客户端,适配外网地址。

Usage

目前dnspod仅支持密钥登录,申请地址 https://console.dnspod.cn/account/token

不支持腾讯云API访问控制!!!

下载dnspod.sh文件,并根据你的配置修改即可。

执行时直接运行dnspod.sh,支持cron任务。

配置文件格式:

TokenID,Token格式填写

arToken="12345,7676f344eaeaea9074c123451234512d"

填写域名信息

domain="Your_Domain_Name"
subdomain="Your_Sub_Domain_Name"

安装

ubuntu/debian

apt-get update
apt-get install wget curl dnsutils openssl cron -y
wget -N --no-check-certificate https://raw.githubusercontent.com/lllvcs/dnspod/master/dnspod.sh
OR
wget -N --no-check-certificate https://gitee.com/lvcs/dnspod/raw/master/dnspod.sh
chmod +x ./dnspod.sh

centos

yum install wget curl bind-utils openssl cron -y
wget -N --no-check-certificate https://raw.githubusercontent.com/lllvcs/dnspod/master/dnspod.sh
OR
wget -N --no-check-certificate https://gitee.com/lvcs/dnspod/raw/master/dnspod.sh
chmod +x ./dnspod.sh

首次操作

第一步,先在DNSPOD管理控制台https://console.dnspod.cn/account/token申请Token

第二步,在dnspod.sh内按照提示填写相应信息。

第三步,运行dnspod.sh,设置定时任务

设置定时任务

crontab -e
*/1 * * * * bash /root/dnspod.sh

Comments ( 6 )

Sign in for post a comment

About

基于DNSPod用户API实现的纯Shell动态域名客户端,适配网卡地址 spread retract
Shell
LGPL-3.0
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
Shell
1
https://gitee.com/lvcs/dnspod.git
git@gitee.com:lvcs/dnspod.git
lvcs
dnspod
dnspod
master

Search