From f2128bfbb8c45c761ebd3676970eae9fd0668248 Mon Sep 17 00:00:00 2001 From: Matthieu LAURENT Date: Wed, 20 Sep 2023 09:56:05 +0200 Subject: [PATCH] resolvectl: add cache flushing and statistics, remove openpgp (#10735) * resolvectl: add flush-caches and statistics * resolvectl: remove openpgp * resolvectl: add precision about DNSSEC verdicts Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/resolvectl.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/linux/resolvectl.md b/pages/linux/resolvectl.md index d291890b0f..14b450b6a2 100644 --- a/pages/linux/resolvectl.md +++ b/pages/linux/resolvectl.md @@ -16,6 +16,14 @@ `resolvectl query {{ip_address}}` +- Flush all local DNS caches: + +`resolvectl flush-caches` + +- Display DNS statistics (transactions, cache, and DNSSEC verdicts): + +`resolvectl statistics` + - Retrieve an MX record of a domain: `resolvectl --legend={{no}} --type={{MX}} query {{domain}}` @@ -24,10 +32,6 @@ `resolvectl service _{{service}}._{{protocol}} {{name}}` -- Retrieve the public key from an email address from an OPENPGPKEY DNS record: - -`resolvectl openpgp {{email}}` - - Retrieve a TLS key: `resolvectl tlsa tcp {{domain}}:443`