Just for the context, this is a standard pihole installation on a fresh raspbian with ssh and wifi, running on pi zero w board with new SD card. I checked to use cloudfare as my upstream DNS during install.
I just replaced wifi home router because i had experienced some wifi issues and for the first few days i run it without pihole. Pretty much everything is on default.
Now, when I power raspberry and ssh to it from my macbook, i can ping to 1.1.1.1 but can not ping to google.com or archive.org or any server that needs to use dns. why?
What actually happens when you run pihole disable command? What is being used as DNS?
what is being used when that raspberry boots up, then what when pi starts, and then what when it is disabled? What controls it?
P.S. Yes, I understand that there are now 2 dhcp servers in my network, one from router, another from pihole, but that does not explain why NO dns is used...
jfb, thank you for your response. My (and I guess fairly typical one) situation is having
Comcast modem<->my wifi router [can disable dhcp]<->pool of devices, printers, kindles, etc...
pi zero w is one of those clients, for now, before installing pihole, I set it up with a simple static IP, say x.x.x.10 using it's /etc/dhcpcd.conf file
What shall be set as DNS in that static configuration? localhost? 127.0.0.1? 192.168.0.10? 1.1.1.1 something else entirely?
What [and from which config file] is used 1/ when pi starts up? 2/ when pihole starts up and runs 3/ when you manually disable it?