Difference between revisions of "Systemd-resolve"
Jump to navigation
Jump to search
↑ https://wiki.ubuntu.com/DebuggingSystemd
(17 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | systemd- | + | {{lowercase}} |
+ | <code>systemd-resolve</code> is a [[systemd]] service that provides network name resolution to local applications via a [[D-Bus]] interface. | ||
http://man7.org/linux/man-pages/man1/systemd-resolve.1.html | http://man7.org/linux/man-pages/man1/systemd-resolve.1.html | ||
− | * <code>systemd-resolve --help</code> | + | * <code>[[systemd-resolve --help]]</code> |
* <code>[[systemd-resolve --status]]</code> | * <code>[[systemd-resolve --status]]</code> | ||
+ | * <code>[[systemd-resolve --set-dns=8.8.8.8 --interface=ens160]]</code> | ||
* <code>[[systemd-resolve --flush-caches]]</code> | * <code>[[systemd-resolve --flush-caches]]</code> | ||
Line 23: | Line 25: | ||
sd_bus_open_system: No such file or directory | sd_bus_open_system: No such file or directory | ||
− | systemd-resolve --status | + | [[systemd-resolve --status]] |
Failed to get global data: Could not activate remote peer. | Failed to get global data: Could not activate remote peer. | ||
+ | |||
[[systemd-resolve --statistics]] | [[systemd-resolve --statistics]] | ||
Line 30: | Line 33: | ||
Transactions | Transactions | ||
− | Current Transactions: | + | Current Transactions: 5 |
− | Total Transactions: | + | Total Transactions: 1707886 |
Cache | Cache | ||
− | Current Cache Size: | + | Current Cache Size: 75 |
− | Cache Hits: | + | Cache Hits: 1042506 |
− | Cache Misses: | + | Cache Misses: 805902 |
DNSSEC Verdicts | DNSSEC Verdicts | ||
Line 43: | Line 46: | ||
Bogus: 0 | Bogus: 0 | ||
Indeterminate: 0 | Indeterminate: 0 | ||
+ | |||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[netplan]]</code> | ||
+ | * <code>[[resolvectl status]]</code> | ||
+ | * <code>[[resolvectl query]]</code> | ||
+ | * <code>[[systemctl status systemd-resolved]]</code> | ||
+ | * <code>[[journalctl -u systemd-resolved]]</code> | ||
+ | * <code>[[dbus-daemon]]</code> | ||
== See also == | == See also == | ||
+ | * {{systemd-resolve}} | ||
* {{systemd}} | * {{systemd}} | ||
* {{DNS}} | * {{DNS}} | ||
* {{DHCP}} | * {{DHCP}} | ||
− | + | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 17:53, 7 September 2021
systemd-resolve
is a systemd service that provides network name resolution to local applications via a D-Bus interface.
http://man7.org/linux/man-pages/man1/systemd-resolve.1.html
systemd-resolve --help
systemd-resolve --status
systemd-resolve --set-dns=8.8.8.8 --interface=ens160
systemd-resolve --flush-caches
Related files:
Related packages:
Examples[edit]
systemd-resolve No arguments passed.
systemd-resolve sd_bus_open_system: No such file or directory
systemd-resolve --status Failed to get global data: Could not activate remote peer.
systemd-resolve --statistics DNSSEC supported by current servers: no Transactions Current Transactions: 5 Total Transactions: 1707886 Cache Current Cache Size: 75 Cache Hits: 1042506 Cache Misses: 805902 DNSSEC Verdicts Secure: 0 Insecure: 0 Bogus: 0 Indeterminate: 0
Related terms[edit]
netplan
resolvectl status
resolvectl query
systemctl status systemd-resolved
journalctl -u systemd-resolved
dbus-daemon
See also[edit]
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
- Systemd:
systemctl
,systemd-journald
,journalctl
systemd-cat
,systemd-logind
,systemd-networkd
:networkctl
,systemd-timesyncd
,systemd-resolved
,systemd-udevd
[1],Systemd-logind: loginctl
,hostnamectl
,udevadm
,systemd-run
,portablectl
,systemd-nspawn
, systemd resource management, Timer (systemd), systemd logs,/etc/systemd/
, systemd services,systemd-mount
,/run/systemd/
,.service
,/usr/lib/systemd/
,/usr/lib/systemd/system/
,/usr/lib/systemd/system/systemd-resolved.service
,/lib/systemd/
, machinectl, systemd-oomd, systemd-analyze - 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 - DHCP: Cisco IOS DHCP Server,
isc-dhcp-server (dhcpd.conf)
,ip dhcp pool
show ip dhcp pool
,show ip dhcp binding
,show ip dhcp conflict
,show ip dhcp server statistics
, DHCP snooping,client-identifier
,hardware-address
,show ip dhcp
,ip link
,dhcpcd
,AWS::EC2::DHCPOptions, dhclient, systemd-networkd
Advertising: