26 lines
680 B
Bash
Executable File
26 lines
680 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
|
|
# Import ardnspod functions
|
|
. /root/dnspod-shell/ardnspod
|
|
|
|
# Combine your token ID and token together as follows
|
|
arToken="411977,7471675f38efb5bf166169787ef47fbe"
|
|
|
|
# Web endpoint to be used for querying the public IPv6 address
|
|
# Set this to override the default url provided by ardnspod
|
|
# arIp6QueryUrl="https://6.ipw.cn"
|
|
|
|
# Return code when the last record IP is same as current host IP
|
|
# Set this to a value other than 0 to distinguish with a successful ddns update
|
|
# arErrCodeUnchanged=0
|
|
|
|
# Place each domain you want to check as follows
|
|
# you can have multiple arDdnsCheck blocks
|
|
|
|
# IPv4:
|
|
# arDdnsCheck "uugo.site" "tnas"
|
|
|
|
# IPv6:
|
|
arDdnsCheck "uugo.site" "pve" 6
|