![Forrest logo](/images/logo.png)
resolvectl:tldr:f2671
The resolvectl status
command is used to display the current DNS resolver configuration and status on a Linux-based operating system.
When you run this command, it will provide you with information about the DNS resolver used by the system, along with the IP addresses of the configured DNS servers.
Here's an example output of resolvectl status
command:
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 192.168.0.1
DNS Servers: 192.168.0.1
8.8.8.8
8.8.4.4
DNS Domain: example.com
In this example, the output indicates that the LLMNR (Link-Local Multicast Name Resolution) and MulticastDNS settings are enabled. DNSOverTLS setting is disabled (no). The DNSSEC (DNS Security Extensions) setting is set to "allow-downgrade", meaning it will try to support DNSSEC if possible. The DNS server IP addresses are listed as 192.168.0.1, 8.8.8.8, and 8.8.4.4. The primary DNS server is 192.168.0.1. The DNS domain is set to "example.com".
This command helps you troubleshoot network connectivity issues by providing information about the DNS resolver configuration, ensuring that the correct DNS servers are being used for name resolution.