Moin,
ich habe Pihole mit Unbound neu mit Raspi OS Bookworm installiert. Scheinbar habe ich einen Fehler gemacht, oder es ist gar keiner. Sollte der Befehl nicht die IP Adresse von google.de ausgeben? Statt dessen kommt immer die Local 127.0.0.1 als Ausgabe.
pi@raspberrypi:~ $ dig google.de @127.0.0.1 -p 5335
; <<>> DiG 9.18.24-1-Debian <<>> google.de @127.0.0.1 -p 5335
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63317
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.de. IN A
;; ANSWER SECTION:
google.de. 300 IN A 142.250.181.195
;; Query time: 55 msec
;; SERVER: 127.0.0.1#5335(127.0.0.1) (UDP)
;; WHEN: Sun Mar 10 11:12:25 CET 2024
;; MSG SIZE rcvd: 54
Debug Token https://tricorder.pi-hole.net/ikrerQah/
Noch zusätzliche Infos:
pi@raspberrypi:~ $ sudo systemctl status unbound.service
â—Ź unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-03-10 11:04:02 CET; 10min ago
Docs: man:unbound(8)
Process: 18504 ExecStartPre=/usr/libexec/unbound-helper chroot_setup (code=exited, status=0/SUCCESS)
Process: 18506 ExecStartPre=/usr/libexec/unbound-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
Main PID: 18508 (unbound)
Tasks: 1 (limit: 3918)
CPU: 709ms
CGroup: /system.slice/unbound.service
└─18508 /usr/sbin/unbound -d -p
Mär 10 11:04:01 raspberrypi systemd[1]: Starting unbound.service - Unbound DNS server...
Mär 10 11:04:01 raspberrypi unbound[18508]: [18508:0] warning: subnetcache: prefetch is set but not working for data originating from the subnet module cache.
Mär 10 11:04:02 raspberrypi unbound[18508]: [18508:0] info: start of service (unbound 1.17.1).
Mär 10 11:04:02 raspberrypi systemd[1]: Started unbound.service - Unbound DNS server.
pi@raspberrypi:~ $ sudo unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf