edit /etc/resolv.conf and change from 127.0.0.1 to let's say google's 8.8.8.8
run a pihole -r and repair.