Files
dnspod-shell/ddnspod.sh
T
2021-03-03 09:19:42 +08:00

18 lines
357 B
Bash
Executable File

#!/bin/sh
#
# Import ardnspod functions
. /your_real_path/ardnspod
# Combine your token ID and token together as follows
arToken="12345,7676f344eaeaea9074c123451234512d"
# Place each domain you want to check as follows
# you can have multiple arDdnsCheck blocks
# IPv6:
# arDdnsCheck "test.org" "subdomain" 6
# IPv4:
arDdnsCheck "test.org" "subdomain"