Giter Site home page Giter Site logo

ardnspod's Introduction

ArDNSPod

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

Usage

详细介绍使用方法的博文(老鸟请略过)

首先要在dnspod网页上新建解析记录,然后获得api token。
复制dns.conf.example到同一目录下的dns.conf并根据你的配置修。
ddnspod.sh 文件开头修改要解析的ip类型(ipv4/ipv6)

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

配置文件格式:

# 安全起见,不推荐使用密码认证
# arMail="[email protected]"
# arPass="123"
(现在dnspod已经完全废除密码认证的方式了)

# 推荐使用Token认证
# 按`TokenID,Token`格式填写
arToken="12345,7676f344eaeaea9074c123451234512d"

# 每行一个域名
arDdnsCheck "test.org" "subdomain"

最近更新

2015/2/24

  • 增加token鉴权方式 (by wbchn)

2015/7/7

  • 使用D+服务获取域名解析

2016/2/25

  • 增加配置文件,分离脚本与配置,适配内网。
  • 加入Mac支持
  • sed脚本POSIX化,可跨平台

2016/3/23

  • 进一步POSIX化,支持Mac和大部分Linux发行版
  • 更改配置文件格式

------forked from origin-----

2018-11-07

  • 支持选择IP地址类型,包括外网/内网/IPv6

2019-05-24

  • 支持IPV6(如你所料,之前所说的支持是假的)
  • 根据网站的更新,api调用使用TLS v1.2,解决了之前调用失败的问题(感谢@lth410 指出)。

2020-01-03

  • 修复了12月31日由于 dnspod API 改动导致的失效。

2020-01-09

  • API返回格式又变了,更改正则表达匹配。

Credit

Original: anrip Forked form anrip/ArDNSPod

ardnspod's People

Contributors

imki911 avatar jinuljt avatar proffan avatar wbchn avatar wzhy90 avatar xjfuuu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.