TLDR
Enter a command. For example: atool, chcpu, rmmod, dnf, file rename.

resolvectl

 
Resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services. Introspect and reconfigure the DNS resolver. More information: https://www.freedesktop.org/software/systemd/man/resolvectl.html.
 
  • Show DNS settings:
     
    resolvectl status
     
  • Resolve the IPv4 and IPv6 addresses for one or more domains:
     
    resolvectl query {{domain1 domain2 ...}}
     
  • Retrieve the domain of a specified IP:
     
    resolvectl query {{ip_address}}
     
  • Retrieve an MX record of domain:
     
    resolvectl --legend={{no}} --type={{MX}} query {{domain}}
     
  • Resolve an SRV record, for example _xmpp-server._tcp gmail.com:
     
    resolvectl service _{{service}}._{{protocol}} {{name}}
     
  • Retrieve the public key from an email address from an OPENPGPKEY DNS record:
     
    resolvectl opengpg {{email}}
     
  • Retreive a TLS key:
     
    resolvectl tlsa tcp {{domain}}:443

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.