Difference between revisions of "Systemd-resolve"

From wikieduonline
Jump to navigation Jump to search
 
(34 intermediate revisions by one other user not shown)
Line 1: Line 1:
* <code>systemd-resolve --help</code>
+
{{lowercase}}
* <code>systemd-resolve --status</code>
+
<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
 +
 
 +
* <code>[[systemd-resolve --help]]</code>
 +
* <code>[[systemd-resolve --status]]</code>
 +
* <code>[[systemd-resolve --set-dns=8.8.8.8 --interface=ens160]]</code>
 +
* <code>[[systemd-resolve --flush-caches]]</code>
  
  
 
Related files:
 
Related files:
* <code>/etc/[[hosts]]</code>
+
* <code>[[/etc/hosts]]</code>
* <code>/etc/[[resolv.conf]]</code>
+
* <code>[[/etc/resolv.conf]]</code>
 +
* <code>[[/etc/systemd/resolved.conf]]</code>
 +
 
 +
Related packages:
 +
* <code>[[resolvconf]]</code>
 +
 
 +
== Examples ==
 +
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 ==
 +
* <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}}
 +
  
  
 
[[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: