systemd-resolved

最後更新: 2020-07-21

介紹

Centos 8 會有它 (Default: 啟用)

provides network name resolution to local applications via a D-Bus interface

It implements a caching and validating DNS/DNSSEC stub resolver

(LLMNR / MulticastDNS resolver and responder)

Port: 9355/TCP

 


Settings

 

global settings: /etc/systemd/resolved.conf (Or /etc/systemd/resolved.conf.d/resolved.conf)

[Resolve]
#DNS=
#FallbackDNS=
#Domains=
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=udp

per-link dynamic settings: /etc/systemd/network/*.network

resolvectl status

Global
       LLMNR setting: yes
MulticastDNS setting: yes
  DNSOverTLS setting: no
      DNSSEC setting: allow-downgrade
    DNSSEC supported: yes
  Current DNS Server: 192.168.88.1
         DNS Servers: 192.168.88.1
          DNS Domain: local
          DNSSEC NTA: 10.in-addr.arpa
...