Skip to content

resolved: lower SERVFAIL cache timeout from 30s to 10s - #17814

Merged
yuwata merged 1 commit into
systemd:masterfrom
poettering:servfail-cache-timeout
Dec 2, 2020
Merged

yuwata merged 1 commit into
systemd:masterfrom
poettering:servfail-cache-timeout

Conversation

@poettering

Copy link
Copy Markdown
Member

Apparently 30s is a bit too long for some cases, see #5552. But not
caching SERVFAIL at all also breaks stuff, see explanation in
201d995.

Let's try to find some middle ground, by lowering the cache timeout to
10s. This should be ample for the problem
201d995 attackes, but not as long as
half a miute, as #5552 complains.

Fixes: #5552

Apparently 30s is a bit too long for some cases, see systemd#5552. But not
caching SERVFAIL at all also breaks stuff, see explanation in
201d995.

Let's try to find some middle ground, by lowering the cache timeout to
10s. This should be ample for the problem
201d995 attackes, but not as long as
half a miute, as systemd#5552 complains.

Fixes: systemd#5552
@poettering

Copy link
Copy Markdown
Member Author

Split out of #17535

@yuwata
yuwata merged commit 19bcef9 into systemd:master Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

systemd-resolved negative caching for extended period of time

2 participants