Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High network usage #198

Open
jaimeferj opened this issue Sep 28, 2024 · 2 comments
Open

High network usage #198

jaimeferj opened this issue Sep 28, 2024 · 2 comments

Comments

@jaimeferj
Copy link

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
Copy link

alvitali commented Oct 18, 2024

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.```

@Kptweedy
Copy link

Also getting this, I think it is reported that way because the container has its network mode set to host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants