systemd-resolve --help
Jump to navigation
Jump to search
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
systemd-resolve
:systemd-resolve --help
,systemd-resolve --status
,/etc/systemd/resolved.conf
,systemd-resolve --statistics
,resolvectl status
,journalctl -u systemd-resolved
,systemd-resolve --set-dns
,systemctl start systemd-resolved
- DNS: Linux DNS, IP,
systemd-resolve
,/etc/hosts
,whois
, Domain registrar,dig
,host
,nslookup
,scutil --dns
dnsmasq
,bind
,delv
,.local
,.internal, .onion
, FQDN, TTL,/etc/resolv.conf
,/etc/systemd/resolved.conf
,dscacheutil
(macOS),hostname, hostnamectl
,bind
,resolvectl status
, DNS sinkhole, Domain name server, LLMNR, Resource records:MX, TXT, NS
, CAA, SSHFP, Apex, CNAME, Wildcard DNS records, Subdomain, /etc/nsswitch.conf,1.1.1.1
,8.8.8.8, CoreDNS, dnsPolicy:
, Google Public DNS, DNS caches, Kubernetes ExternalDNS, DNS forwarding, IDNA2008, DNS-1035, Domain name registrars, Split-view DNS, Pi-hole, NextDNS
Advertising: