etc/resolv.conf: fix comment explaining rotate

This commit is contained in:
Aminda Suomalainen 2024-05-01 13:08:06 +03:00
parent 1aca183f92
commit 32c99a2d43
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 10 additions and 5 deletions

View File

@ -31,11 +31,16 @@ search .
# timeout:2 = nameserver timeout 2 s (default 5, max 30), then next
# attempts:2 = if all nameservers fail, attempt again 2 times (def 2, max 5)
# rotate = instead of trying the nameservers in the order specified, randomize
# the order in round-robin fashion. They are all theoretically the same,
# except that NordVPN disables IPv6 so ::1 will fail and occassionally only
# systemd-resolved works and I am under impression that some apps are aware of
# systemd-resolved and will use it directly bypassing resolv.conf
# rotate = For long running processes that perform more than one query (so not
# dig/host), use the first resolver for the first query, second resolver for
# the second query, third resolver for the third query and repeat.
# They are all theoretically the same, except that NordVPN disables IPv6 so
# ::1 will fail and occassionally only systemd-resolved works and I am
# under the impression that some apps are aware of systemd-resolved and will
# use it directly bypassing resolv.conf. In other words while everything
# works, this affects nothing, and when unbound is down (before it's started
# on desktop?), every second query will be faster with every third reaching
# systemd-resolved instantly without the timeout of two seconds.
# edns0 = extended DNS
# trust-ad = trust DNSSEC authenticated data
options timeout:2 attempts:2 rotate edns0 trust-ad