Expected Behaviour:
[Im using Raspberry Pi 4 1GB on the Bullseye port of Raspberry Pi OS
I installed Pihole with the One-Step Automated Install Command ("curl -sSL https://install.pi-hole.net | sudo bash")
The local DNS option (ip4 and ip6) of my router (Im using a Fritzbox Cable if that matters) points to the IP4/IP6 of the Pihole
The expected behavior is that Pihole connect as expected and my Internet connection works]
Actual Behaviour:
[After i rebooted my router to send the new DNS informationto all devices i cant connect to the internet]
Debug Token:
[https://tricorder.pi-hole.net/1sNQ3oTE/]
What are you describing when you say "I can't connect to the internet"?
From a client computer on your network try the commands below to see if you are using Pi-hole and if it is blocking correctly.
nslookup pi.hole
nslookup flurry.com 192.168.178.102
nslookup flurry.com 1.1.1.1
With "i cant Connect to the Internet" i mean Like when i go to the url for example google.com It says "No Connection"
I tried this with a Client, DNS Set to my pihole (192.168.178.102)
nslookup pi.hole
Server: 8.8.8.8
Address: 8.8.8.8#53
** server can't find pi.hole: NXDOMAIN
nslookup [flurry.com](http://flurry.com) 192.168.178.102
;; connection timed out; no servers could be reached
nslookup [flurry.com](http://flurry.com) 1.1.1.1
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
Name: [flurry.com](http://flurry.com)
Address: 13.248.158.7
Name: [flurry.com](http://flurry.com)
Address: 76.223.84.192
The first test shows that that client is using Google's public DNS 8.8.8.8 as its DNS server. If you set this to be your Pi-hole, the mechanism used to set it hasn't worked and it's picking up Google's DNS from somewhere.
The second test forces the use of your Pi-hole, and that failed as the client couldn't reach the DNS service at that IP. You have quite a lot of networking going on, so check for correct routing, any firewall blocks, etc.
The third test asks Cloudflare's public DNS to resolve an ad domain, and that worked, which shows that you do have an Internet connection and can reach external services.
Debug logs include a test of a random blocked ad domain. The test confirms that the domain is blocked (returns 0.0.0.0 or ::) or else it shows the correct IP.
In your log, for some reason, the domains tested returned no IPs at all. Would you mind re-testing this particular part please, by running the commands below in your Pi--hole terminal window. and copying the full responses into a reply here? Thanks.
dig +tries=1 +time=2 -4 hatdfg-rhgreh684.frge.io @127.0.0.1 A
dig +tries=1 +time=2 -6 www.fairtreedc.com @127.0.0.1 A
~ $ dig +tries=1 +time=2 -4 hatdfg-rhgreh684.frge.io @127.0.0.1 A
; <<>> DiG 9.16.48-Debian <<>> +tries +time -4 hatdfg-rhgreh684.frge.io @127.0.0.1 A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17676
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;hatdfg-rhgreh684.frge.io. IN A
;; Query time: 23 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jul 09 07:08:41 CEST 2024
;; MSG SIZE rcvd: 53
Sry this got marked as Spam idk why..
Response of the First command:
; <<>> DiG 9.16.48-Debian <<>> +tries +time -4 hatdfg-rhgreh684.frge.io @127.0.0.1 A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17676
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;hatdfg-rhgreh684.frge.io. IN A
;; Query time: 23 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jul 09 07:08:41 CEST 2024
;; MSG SIZE rcvd: 53
The system tried to auto-expand domain names to links, and adding multiple links to the same domain triggered it to flag a post, and doing so repeatedly in multiple posts then to flag the entire topic.
You can format command output by highlighting some text and selecting the < / > Preformatted text option from the menu.
Alternatively, you may put three backticks ``` on lines before and after your command output.
I have edited your posts accordingly.
Second command
~ $ dig +tries=1 +time=2 -6 www.fairtreedc.com @127.0.0.1 A
; <<>> DiG 9.16.48-Debian <<>> +tries +time -6 www.fairtreedc.com @127.0.0.1 A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23379
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;www.fairtreedc.com. IN A
;; Query time: 7 msec
;; SERVER: ::ffff:127.0.0.1#53(::ffff:127.0.0.1)
;; WHEN: Tue Jul 09 07:08:59 CEST 2024
;; MSG SIZE rcvd: 47