Please follow the below template, it will help us to help you!
Expected Behaviour:
Following method #3 from How do I configure my devices to use Pi-hole as their DNS server? (Just want to use pihole for my one local machine), I modify my windows machine to point to my local pihole instance (that is in a docker container). I expect for my browsers and other applications to work as expected.
Actual Behaviour:
My browsers + other applications cannot connect to the internet.
You have a configuration error. The assigned IP does not match the configured IP in Pi-Hole and the IP of the DNS SERVER that replied to the nslookup is neither of those; it is not working as expected.
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
172.17.0.2/16 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
*** [ DIAGNOSING ]: Setup variables
IPV4_ADDRESS=192.168.0.104
PIHOLE_INTERFACE=eth0
Not too sure what to do about the following configuration error however
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
172.17.0.2/16 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
And in my pihole docker container logs I can see the request being logged
dnsmasq: 329 192.168.99.1/55782 query[PTR] 100.99.168.192.in-addr.arpa from 192.168.99.1
dnsmasq: 329 192.168.99.1/55782 /etc/pihole/local.list 192.168.99.100 is ead6060555e2
dnsmasq: 330 192.168.99.1/55783 query[A] pi.hole from 192.168.99.1
dnsmasq: 330 192.168.99.1/55783 /etc/pihole/local.list pi.hole is 192.168.99.100
dnsmasq: 331 192.168.99.1/55784 query[AAAA] pi.hole from 192.168.99.1
dnsmasq: 331 192.168.99.1/55784 cached pi.hole is NODATA-IPv6
But when I refresh the DNS settings in chrome chrome://net-internals/#dns and restart my browser still nothing works. I also don't see any query requests in my docker logs when I try to navigate to a page in chrome (the same applies for other applications: discord, IE, etc).
When I try to use curl in the command line I get an error as well
curl -vvv www.google.ca
* Rebuilt URL to: www.google.ca/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Could not resolve host: www.google.ca
* Closing connection 0
curl: (6) Could not resolve host: www.google.ca
When I try to use the windows "diagnose this connection" it says
My docker machine is running in a vm (as I am using windows). The vm is using a bridged adapter for the networking which I believe is the correct setting.