1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2026-03-05 05:51:41 +01:00
infrastructure/roles/matrix/files/resolved.conf.d
Jan Alexander Steffens (heftig) 5adfe38db4
matrix: Add resolved config
This was actually deployed for a long time, but not added to ansible.
2025-10-12 02:53:04 +02:00

13 lines
504 B
D

[Resolve]
# DNS failures cause resolved to rotate to the next server. If StaleRetentionSec
# is 0 (the default), it then flushes its cache (in `link_set_dns_server`), thus
# causing more queries to hit upstream servers and risking more DNS failures.
#
# Synapse causes a lot of queries. By skipping flushing we actually get resolved
# to cache a meaningful amount of answers and drastically reduce the amount of
# failures Synapse encounters.
StaleRetentionSec=180
# vim:set ft=systemd sw=2 sts=-1 et: