From df120dbfaf53e849e607191ef9626f7e10c57689 Mon Sep 17 00:00:00 2001 From: cola <44671411+aipeach@users.noreply.github.com> Date: Thu, 21 Oct 2021 18:44:45 +0800 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76da694..caaa4b6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ Cloudflare API v4 Dynamic DNS Update in Bash, without unnecessary requests -Now the script also supports v6(AAAA DDNS Recoards) \ No newline at end of file +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 +```