Installation: pihole on raspberry os on a raspberry 1B
I installed pihole on a fresh install of raspberry os without any (apparent) custom configuration. Router-side, I have set the pi ip to be static (to 192.168.1.10) and after setting the router dns to the pi ip I would have expected internet to still work and the pi to receive connection requests.
Actual Behaviour:
When the dns is set to be the pi's ip, internet does not work and the pi receives no requests.
How did you set the IP? Is it the upstream DNS of the router itself?
Because your router advertises itself und two public DNS servers via DHCP to its clients
* Received 340 bytes from eth0:192.168.1.1
Offered IP address: 192.168.1.10
Server IP address: N/A
Relay-agent IP address: N/A
BOOTP server: (empty)
BOOTP file: (empty)
DHCP options:
Message type: DHCPOFFER (2)
server-identifier: 192.168.1.1
lease-time: 86400 ( 1d )
netmask: 255.255.255.0
router: 192.168.1.1
dns-server: 192.168.1.1
dns-server: 1.1.1.1
dns-server: 8.8.8.8
renewal-time: 43200 ( 12h )
rebinding-time: 75600 ( 21h )
The clients will then choose one of those DNS servers as they like to answer their DNS requests.
Set PI-hole as the only DNS server distributed via DHCP (and dis/reconnect the clients from the network to pick-up the new settings).
Basically what happened is that since when I reverted to google's dns everything worked without dis/reconnection, I did not try to dis/reconnect when I was setting the pi as dns. Sorry for that.
Now I see the query log being written correctly but websites are not loaded.
All your nslookup look good - the device is using Pi-hole as DNS server and Pi-hole is blocking correctly.
This looks better, however your router still advertises itself as DNS server, too. If there is no option to suppress this, you should make sure Pi-hole is also the upstream DNS server of your router (WAN side). In that case DNS queries would go