nochmal resolvconf hc-utils installiert
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
reboot
dann
sudo apt purge resolvconf hc-utils
sudo systemctl start systemd-resolved
sudo systemctl enable systemd-resolved
reboot
dann alles in der /etc/systemd/resolved.conf
deaktiviert
danach konnte ich die /etc/resolv.conf anpassen:
Code: Select all
nano /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
search .
jetzt sieht es so aus:
Code: Select all
cat /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
search .
Code: Select all
resolvectl status
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
DNS Domain: ~.
Link 2 (eth0)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Code: Select all
netstat -luntep|grep resolve
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 102 12577 395/systemd-resolve
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 102 12584 395/systemd-resolve
tcp6 0 0 :::5355 :::* LISTEN 102 12580 395/systemd-resolve
udp 0 0 127.0.0.53:53 0.0.0.0:* 102 12583 395/systemd-resolve
udp 0 0 0.0.0.0:5355 0.0.0.0:* 102 12576 395/systemd-resolve
udp6 0 0 :::5355 :::* 102 12579 395/systemd-resolve