dig cloudflare.com
; <<>> DiG 9.16.44-Raspbian <<>> cloudflare.com
;; global options: +cmd
;; connection timed out; no servers could be reached
dig google.com
; <<>> DiG 9.16.44-Raspbian <<>> google.com
;; global options: +cmd
;; connection timed out; no servers could be reached
unbound -v
[1718025514] unbound[1343:0] notice: Start of unbound 1.13.1.
[1718025514] unbound[1343:0] error: can't bind socket: Address already in use for 127.0.0.1 port 5335
[1718025514] unbound[1343:0] fatal error: could not open ports
[1718025514] unbound[1343:0] error: can't bind socket: Address already in use for 127.0.0.1 port 5335
Unbound cannot run becuase the socket is being used by a different process. From the pihole you can run sudo lsof -iUDP:5335 to see whats on that port.