Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Negative caching issue #415

@mvevitsis

Description

@mvevitsis

I have a strange issue when the connection is unstable (not uncommon on mobile data).

If an app makes a DNS request and the connection is not available, it will receive a null response. However, they seem to be caching this response such that even once the connection is restored, they do not make the request again and the DNS lookup is "poisoned" until I force it to clear by rebooting the phone.

Here are my settings:

cache = true
cache_size = 4096
cache_min_ttl = 0
cache_max_ttl = 86400
cache_neg_ttl = 0
cache_neg_max_ttl = 0

Is there anything I can change to make this more stable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions