Shell 更新DNSPOD 域名,做动态DNS
#!/bin/bash RECORD_ID= DOMAIN= SUB_DOMAIN UID= TOKEN= REMOTE_IP curl https://dnsapi.cn/Record.Ddns -H 'content-type: application/x-www-form-urlencoded' -d 'domain='$DOMAIN'&sub_domain='$SUB_DOMAIN'&value='$REMOTE_IP'&login_token='$UID'%20%2C'$TOKEN'&format=json&record_id='$RECORD_ID'&record_line=%E9%BB%98%E8%AE%A4'
http://icms.factj.com/article.php?id=2352