Danke für die schnelle Antwort!
# This is /run/systemd/resolve/resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 192.168.178.84
nameserver 2001:871:241:acdc:a28c:fdff:fee9:a3ef
search fritz.box
Server: 192.168.178.84
Address: 192.168.178.84#53
Non-authoritative answer:
Name: heise.de
Address: 193.99.144.80
Name: heise.de
Address: 2a02:2e0:3fe:1001:302::
home-server (192.168.178.84) auf a0:8c:fd:e9:a3:ef [ether] auf wlp1s0
PAT-PC.fritz.box (192.168.178.32) auf 0c:9d:92:87:ca:c3 [ether] auf wlp1s0
fritz.box (192.168.178.1) auf 98:9b:cb:c4:1b:c1 [ether] auf wlp1s0
DRUCKER.fritz.box (192.168.178.66) auf 6c:02:e0:1d:13:1a [ether] auf wlp1s0
3dprintcam.fritz.box (192.168.178.62) auf 1c:61:b4:88:cc:06 [ether] auf wlp1s0
Das funktioniert alles.
Die IP vom Pihole ist 192.168.178.84
Also soweit alles richtig oder?
Was eben so strange ist ist, dass er es ja erkennt im nslookup.
Also habe hier z.B. einen cname auf Home-Server.
Mit ping kann er es nicht mal auflösen und im nslookup erkennt er den cname.
patrick@HP-Laptop:~$ ping firefox.local
ping: firefox.local: Der Name oder der Dienst ist nicht bekannt
patrick@HP-Laptop:~$ nslookup
> firefox.local
Server: 192.168.178.84
Address: 192.168.178.84#53
firefox.local canonical name = home-server.
Name: home-server
Address: 192.168.178.84