User Tools

Site Tools


linux:system:systemd-resolved

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:system:systemd-resolved [2023/08/15 14:17] – created oscarlinux:system:systemd-resolved [2023/08/15 14:31] (current) oscar
Line 1: Line 1:
 ====== Systemd-resolved ====== ====== Systemd-resolved ======
 +
 +----
 Systemd-resolved provides resolver services for Domain Name System (DNS).  Systemd-resolved provides resolver services for Domain Name System (DNS). 
  
Line 18: Line 20:
 ----------------------------------------------- -----------------------------------------------
 </code> </code>
 +
 +===== Query =====
 +<code>
 +# resolvectl query www.oscardegroot.nl
 +-----------------------------------------------
 +www.oscardegroot.nl: 2001:1c00:2e16:720a:2ff:b1ff:feaa:1202 -- link: eth0
 +                     84.31.73.82               -- link: eth0
 +                     (oscardegroot.nl)
 +
 +-- Information acquired via protocol DNS in 3.5ms.
 +-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
 +-- Data from: network
 +-----------------------------------------------
 +</code> 
  
 ===== Configure ===== ===== Configure =====
Line 34: Line 50:
 </code> </code>
  
 +==== Automatically ====
 +systemd-resolved will work out of the box with a network manager using /etc/resolv.conf. No particular configuration is required since systemd-resolved will be detected by following the /etc/resolv.conf symlink.
  
- +==== Manually ====
 The resolver can be configured by editing /etc/systemd/resolved.conf and/or drop-in .conf files in /etc/systemd/resolved.conf.d/ The resolver can be configured by editing /etc/systemd/resolved.conf and/or drop-in .conf files in /etc/systemd/resolved.conf.d/
  
linux/system/systemd-resolved.1692109073.txt.gz · Last modified: by oscar