Linux Commands - resolvectl command (DNS)

by
Jeremy Canfield |
Updated: October 02 2021
| Linux Commands articles
The resolvectl command can then be used to show information on the DNS servers your system is using.
~]# resolvectl
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (ens192)
Current Scopes: DNS LLMNR/IPv4
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 10.124.141.51
DNS Servers: 10.124.141.51 10.112.42.10
Did you find this article helpful?
If so, consider buying me a coffee over at