Skip to content

Feature request: timeout option for downloading dns lists #3287

@qupig

Description

@qupig

What's the feature 🧐

I think sometimes my network isn't fast enough so it keeps timing out when downloading the lists. I checked the wiki and couldn't find the relevant settings. I'm guessing it might be hardcoded or something?

Could you add a DNS option to set this timeout allowing users to set a higher duration based on network conditions?

2026-04-15T09:55:41Z INFO [dns] downloading hostnames and IP block lists
2026-04-15T09:55:56Z WARN [dns] cannot update filter block lists: scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body)
2026-04-15T09:55:56Z INFO [dns] attempting restart in 20s
2026-04-15T09:56:16Z INFO [dns] downloading hostnames and IP block lists
2026-04-15T09:56:31Z WARN [dns] cannot update filter block lists: scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body), scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body)
2026-04-15T09:56:31Z INFO [dns] attempting restart in 40s
2026-04-15T09:57:11Z INFO [dns] downloading hostnames and IP block lists
2026-04-15T09:57:26Z WARN [dns] cannot update filter block lists: scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body)
2026-04-15T09:57:26Z INFO [dns] attempting restart in 1m20s
2026-04-15T09:58:46Z INFO [dns] downloading hostnames and IP block lists
2026-04-15T09:59:01Z WARN [dns] cannot update filter block lists: scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body)
2026-04-15T09:59:01Z INFO [dns] attempting restart in 2m40s
2026-04-15T10:01:41Z INFO [dns] downloading hostnames and IP block lists
2026-04-15T10:01:56Z WARN [dns] cannot update filter block lists: scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body)
2026-04-15T10:01:56Z INFO [dns] attempting restart in 5m20s
2026-04-15T10:07:16Z INFO [dns] downloading hostnames and IP block lists
2026-04-15T10:07:31Z WARN [dns] cannot update filter block lists: scanning: context deadline exceeded (Client.Timeout or context cancellation while reading body)

Extra information and references

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions