K0p1-Git / cloudflare-ddns-updater

Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP! Written in pure BASH~
MIT License
1.33k stars 372 forks source link

Result says Success but the IP doesn't change. #88

Closed JayCroghan closed 2 months ago

JayCroghan commented 3 months ago

I am running the script on a new domain, it has 3 A records, one for *, one for www and one for mywebsite.com (not the real website).

It returns success true but the IP address for all 3 remains the same. If I run the script in quick succession it always says the IP has changed.

{
  "result": [
    {
      "id": "ID",
      "zone_id": "ZoneId",
      "zone_name": "mywebsite.com",
      "name": "mywebsite.com",
      "type": "A",
      "content": "the.old.ip.address",
      "proxiable": true,
      "proxied": true,
      "ttl": 1,
      "locked": false,
      "meta": {
        "auto_added": false,
        "managed_by_apps": false,
        "managed_by_argo_tunnel": false
      },
      "comment": null,
      "tags": [],
      "created_on": "2024-06-15T03:49:34.606845Z",
      "modified_on": "2024-06-15T03:49:34.606845Z"
    }
  ],
  "success": true,
  "errors": [],
  "messages": [],
  "result_info": {
    "page": 1,
    "per_page": 100,
    "count": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
JayCroghan commented 3 months ago

Sorry, I used a fork and it's the fork that doesn't work.