timothymiller / cloudflare-ddns

🎉🌩️ Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP!
https://timknowsbest.com/free-dynamic-dns
GNU General Public License v3.0
3.07k stars 319 forks source link

High network usage #198

Open jaimeferj opened 4 weeks ago

jaimeferj commented 4 weeks ago

I was very surprised about the network usage for this container:

Screenshot from 2024-09-28 13-33-36

Is this normal? Because I do not see any reason why this network bandwidth would be taken for updating a dns.

My docker-compose.yml:

  cloudflare-ddns:
    image: timothyjmiller/cloudflare-ddns:latest
    container_name: cloudflare-ddns
    security_opt:
      - no-new-privileges:true
    network_mode: "host"
    environment:
      - PUID=$PUID
      - PGID=$PGID
    volumes:
      - ./config.json:/config.json
    restart: unless-stopped

My config.json:

{
  "cloudflare": [
    {
      "authentication": {
        "api_token": "whatever"
      },
      "zone_id": "whatever",
      "subdomains": [
        {
          "name": "whatever",
          "proxied": false
        }
]
}
  ],
  "a": true,
  "aaaa": true,
  "purgeUnknownRecords": false,
  "ttl": 300
}
alvitali commented 1 week ago

I've got the same issue. I was wondering what was constantly using so much bandwidth...

Screenshot 2024-10-18 at 01 58 13

For some reason, cloudflare-ddns fails to reach Cloudflare with my credentials (was just using it as backup), which makes this network usage even stranger.

Logs:


🧩 IPv6 not detected via 1.1.1.1, trying 1.0.0.1
🧩 IPv6 not detected via 1.0.0.1. Verify your ISP or DNS provider isn't blocking Cloudflare's IPs.
🧩 IPv4 not detected via 1.1.1.1, trying 1.0.0.1
🧩 IPv4 not detected via 1.0.0.1. Verify your ISP or DNS provider isn't blocking Cloudflare's IPs.```