Please follow the below template, it will help us to help you!
Expected Behaviour:
DNS request is timing out
Actual Behaviour:
DNS should be resolving
Debug Token:
I have pihole running on unraid in a docker, it is set to it's own IP (192.168.1.22).
Completely fresh install, have not done anything in the settings yet.
Note: router is opnsense (pfsense), it is running unboundDNS by default, I did not make any changes to the router DNS settings yet
I can open the interface webUI at the correct IP.
On windows 10, I can ping the pihole server:
>ping 192.168.1.22
Pinging 192.168.1.22 with 32 bytes of data:
Reply from 192.168.1.22: bytes=32 time<1ms TTL=64
Reply from 192.168.1.22: bytes=32 time<1ms TTL=64
On windows computer, If I try:
>nslookup google.com 192.168.1.22
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.1.22
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
If I go into the docker container and run the following:
# ping www.google.com
PING www.google.com (172.217.3.164) 56(84) bytes of data.
64 bytes from sea15s11-in-f164.1e100.net (172.217.3.164): icmp_seq=1 ttl=57 time=8.10 ms
64 bytes from sea15s11-in-f164.1e100.net (172.217.3.164): icmp_seq=2 ttl=57 time=7.58 ms
64 bytes from sea15s11-in-f164.1e100.net (172.217.3.164): icmp_seq=3 ttl=57 time=7.81 ms
64 bytes from sea15s11-in-f164.1e100.net (172.217.3.164): icmp_seq=4 ttl=57 time=8.33 ms
^C
--- www.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 7.584/7.959/8.335/0.305 ms
# dig google.com
; <<>> DiG 9.10.3-P4-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 822
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 172.217.3.174
;; Query time: 111 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Sat Jun 23 16:38:25 PDT 2018
;; MSG SIZE rcvd: 55
# dig doubleclick.com
; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26864
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;doubleclick.com. IN A
;; ANSWER SECTION:
doubleclick.com. 300 IN A 172.217.3.174
;; Query time: 289 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Sat Jun 23 16:38:36 PDT 2018
;; MSG SIZE rcvd: 60
# sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 423/pihole-FTL
tcp 0 0 127.0.0.11:44875 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 3457/dnsmasq
tcp6 0 0 :::53 :::* LISTEN 3457/dnsmasq
udp 0 0 127.0.0.11:48224 0.0.0.0:* -
udp 0 0 0.0.0.0:53 0.0.0.0:* 3457/dnsmasq
udp6 0 0 :::53 :::* 3457/dnsmasq
The webUI does show any queries at all.