Update README.md

This commit is contained in:
cola 2021-10-21 18:44:45 +08:00 committed by GitHub
parent e14f6aab39
commit df120dbfaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,9 @@
Cloudflare API v4 Dynamic DNS Update in Bash, without unnecessary requests Cloudflare API v4 Dynamic DNS Update in Bash, without unnecessary requests
Now the script also supports v6(AAAA DDNS Recoards) Now the script also supports v6(AAAA DDNS Recoards)
```
bash <(curl -Ls https://git.io/cloudflare-ddns) -k cloudflare-api-key \
-h host.example.com \ # fqdn of the record you want to update
-z example.com \ # will show you all zones if forgot, but you need this
-t A|AAAA # specify ipv4/ipv6, default: ipv4
```