Difference between revisions of "Systemd-resolve"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 
<code>systemd-resolve</code> is a [[systemd]] service that provides network name resolution to local applications via a [[D-Bus]] interface.
 
<code>systemd-resolve</code> is a [[systemd]] service that provides network name resolution to local applications via a [[D-Bus]] interface.
  
Line 5: Line 6:
 
* <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 52: Line 54:
 
* <code>[[systemctl status systemd-resolved]]</code>
 
* <code>[[systemctl status systemd-resolved]]</code>
 
* <code>[[journalctl -u systemd-resolved]]</code>
 
* <code>[[journalctl -u systemd-resolved]]</code>
 +
* <code>[[dbus-daemon]]</code>
  
 
== See also ==
 
== See also ==

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


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]

See also[edit]

  • https://wiki.ubuntu.com/DebuggingSystemd
  • Advertising: