Difference between revisions of "Systemd-resolve"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
systemd-resolved is a [[systemd]] service that provides network name resolution to local applications via a [[D-Bus]] interface.
+
{{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]]
 
  DNSSEC supported by current servers: no
 
  DNSSEC supported by current servers: no
 
   
 
   
 
  Transactions
 
  Transactions
  Current Transactions: 0
+
  Current Transactions: 5
   Total Transactions: 0
+
   Total Transactions: 1707886
 
   
 
   
 
  Cache
 
  Cache
   Current Cache Size: 0
+
   Current Cache Size: 75
           Cache Hits: 0
+
           Cache Hits: 1042506
         Cache Misses: 0
+
         Cache Misses: 805902
 
   
 
   
 
  DNSSEC Verdicts
 
  DNSSEC Verdicts
Line 44: Line 47:
 
         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}}
* {{netplan}}
+
 
  
  
 
[[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


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: