Please follow the below template, it will help us to help you!
This is my first raspberry pi project, I installed raspbian, then installed pi-hole, I have been able to get into the console on any pc. i have changed the dns number accordingly, updated whatever I needed to do. My router is a ASUS RT-N12D1, firmware is up to date.
I am very new to this so thank you in advanced as my knowledge is limited.
Expected Behaviour:
Once I got the pi-hole running, it will block ads network wide
This section of your debug log shows that the Pi-Hole is properly processing received DNS requests. This indicates the problem likely lies in the configuration of your router to use Pi-Hole.
I would start by configuring a single client to use Pi-Hole, then once you establish that a client can connect to it, then expand it to your network. With a single client, it's easier to track the activity in the query log.
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[β] archanatraderspilathara.com is 0.0.0.0 via localhost (127.0.0.1)
[β] archanatraderspilathara.com is 0.0.0.0 via Pi-hole (192.168.1.252)
[β] doubleclick.com is 172.217.6.46 via a remote, public DNS server (8.8.8.8)
As a first test, from a client that should be connected, try to communicate with the Pi-Hole with these commands:
The first command output indicates that your router is using Pi-Hole for DNS, since it routed the lookup to the Pi-Hole and the correct answer was returned to the client.
What ads are you seeing? URL's, screen captures, log outputs would help us help you.
The client asked it's DNS server - "who is pi.hole." The router answered by asking pi.hole. The transaction went from the client, to the router, to Pi-Hole, then back to the router and then to the client.
Since "pi.hole" is a name only known by the Pi-Hole itself, since the name was resolved to an IP address (the IP of the Pi-Hole), then the Pi-Hole answered the question.
In your nslookup output you see the following:
nslookup pi.hole - this is the request from the client to it's assigned DNS server
Server: [router.asus.com] - this is the server than answereded
Address: 192.168.1.1 - this is the address of the server (the router)
Name: pi.hole - this is the answer that the router got back from the DNS server it is using, Pi-Hole
Address: 192.168.1.252 - this is the address of the Pi-Hole.
I have changed the dns number to the pi-hole under the the LAN tab,DHCP server under DNS and WINS server setting.
I have also changed the dns server under the WAN tab, DNS settings and changed those numbers.
I go pi-hole's test page and it's still showing those two ads.
I have been remotely controlling using teamviewer.
On the pi itself is blocking ads on the ad block test page provided by the pi-hole site. On all other devices, it does not block those ads. Ad is rcm-na.amazon-adsystem.com. I would like to know how I can block this ad without the brave browser's blockers.
Something curious happened, I put youtube.com on the blacklist, this cause only one pc not to be able to go on youtube on any browser. All of the other devices connected either wifi, ethernet, or powerline adapter. This is including my laptop (wifi), pc (powerline) android devices (wifi) could get on youtube either app or on the site. It's just that one pc that was connected vai ethernet. I got youtube.com off the black list and it worked again on that one pc.
I have in the DNS tab in the pi hole under Interface listening behavior, I have switched to (listen on all interfaces) that didn't work.
I have decided why no to change the dns upstream servers to custom ones provided by opennic, cause why not?
I still cannot get this thing to block ads. I have changed the proper settings on my router and still it won't block ads
As before, this indicates that your clients are not sending their DNS traffic through the Pi-Hole. Most likely, this is a router configuration problem.
I would manually assign one of the clients that is seeing ads to use the DNS of Pi-Hole. Then see if that client traffic is going through the Pi-Hole.
You can use nslookup commands from clients to detemine which DNS server is responding to their DNS request. An example appears below. The server that replied is the Pi-Hole, and it correctly returned its own address for the host name "pi.hole".
I would look through all the settings on the router, particularly in the IPv6 area. If you don't use IPv6, turn it off on the router. Also look for DNS settings in parental controls, anything labeled family friendly, etc.