Difference between revisions of "Systemd-resolve --help"

From wikieduonline
Jump to navigation Jump to search
Line 40: Line 40:
 
     --set-nta=DOMAIN      Set per-interface DNSSEC NTA
 
     --set-nta=DOMAIN      Set per-interface DNSSEC NTA
 
     --revert              Revert per-interface configuration
 
     --revert              Revert per-interface configuration
</pre>
+
 
 +
See the [[resolvectl]](1) man page for details
 +
 
  
 
== See also ==
 
== See also ==

Revision as of 07:35, 17 March 2021

systemd-resolve --help
systemd-resolve [OPTIONS...] HOSTNAME|ADDRESS...
systemd-resolve [OPTIONS...] --service [[NAME] TYPE] DOMAIN
systemd-resolve [OPTIONS...] --openpgp EMAIL@DOMAIN...
systemd-resolve [OPTIONS...] --statistics
systemd-resolve [OPTIONS...] --reset-statistics

Resolve domain names, IPv4 and IPv6 addresses, DNS records, and services.
 -h --help                 Show this help
    --version              Show package version
    --no-pager             Do not pipe output into a pager
 -4                        Resolve IPv4 addresses
 -6                        Resolve IPv6 addresses
 -i --interface=INTERFACE  Look on interface
 -p --protocol=PROTO|help  Look via protocol
 -t --type=TYPE|help       Query RR with DNS type
 -c --class=CLASS|help     Query RR with DNS class
    --service              Resolve service (SRV)
    --service-address=BOOL Resolve address for services (default: yes)
    --service-txt=BOOL     Resolve TXT records for services (default: yes)
    --openpgp              Query OpenPGP public key
    --tlsa                 Query TLS public key
    --cname=BOOL           Follow CNAME redirects (default: yes)
    --search=BOOL          Use search domains for single-label names
                                                             (default: yes)
    --raw[=payload|packet] Dump the answer as binary data
    --legend=BOOL          Print headers and additional info (default: yes)
    --statistics           Show resolver statistics
    --reset-statistics     Reset resolver statistics
    --status               Show link and server status
    --flush-caches         Flush all local DNS caches
    --reset-server-features
                           Forget learnt DNS server feature levels
    --set-dns=SERVER       Set per-interface DNS server address
    --set-domain=DOMAIN    Set per-interface search domain
    --set-llmnr=MODE       Set per-interface LLMNR mode
    --set-mdns=MODE        Set per-interface MulticastDNS mode
    --set-dnssec=MODE      Set per-interface DNSSEC mode
    --set-nta=DOMAIN       Set per-interface DNSSEC NTA
    --revert               Revert per-interface configuration
See the resolvectl(1) man page for details


See also

Advertising: