New setup help

Hi all

Got pi hole up and running on my network but when I set its IP in my router DHCP as a DNS server, all of my devices do really slooow DNS lookups. Also some sites dont even work. I have tried changing the outbound DNS from Google, OpenDNS, Cloudflare but no change.

Details about my system:
Here is my debug. This is with my ISP DNS, with my DNS pointed to my 192 address pi hole, I couldnt upload the debug file so i had to go back to my ISP DNS.
https://tricorder.pi-hole.net/aszXkCxP

Any help would be appricated.

Your router is passing out its own IP for DNS, not the IP of Pi-hole. This makes all your devices go through the router to get DNS resolution:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   WARN: Could not sendto() in send_dhcp_discover() (/__w/FTL/FTL/src/dhcp-discover.c:233): Network is unreachable
   * Received 300 bytes from eth0:192.168.2.1
     Offered IP address: 192.168.2.101
     Server IP address: 192.168.2.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.2.1
      lease-time: 172800 ( 2d )
      renewal-time: 86400 ( 1d )
      rebinding-time: 151200 ( 1d 18h )
      netmask: 255.255.255.0
      broadcast: 192.168.2.255
      router: 192.168.2.1
      dns-server: 192.168.2.1
      --- end of options ---
    
   DHCP packets received on interface lo: 0
   DHCP packets received on interface wlan0: 0
   DHCP packets received on interface eth0: 1

Your Pi-hole is at a different IP: eth0 (192.168.2.186)

It doesn't appear that any of your network clients are using Pi-hole - this is the 24 hour (or less, if Pi-hole was installed less than 24 hours ago) of your DNS history:

 [2022-09-18 22:26:17.499 14117M] Imported 0 queries from the long-term database
   [2022-09-18 22:26:17.500 14117M]  -> Total DNS queries: 0
   [2022-09-18 22:26:17.500 14117M]  -> Cached DNS queries: 0
   [2022-09-18 22:26:17.500 14117M]  -> Forwarded DNS queries: 0
   [2022-09-18 22:26:17.500 14117M]  -> Blocked DNS queries: 0
   [2022-09-18 22:26:17.500 14117M]  -> Unknown DNS queries: 0
   [2022-09-18 22:26:17.500 14117M]  -> Unique domains: 0
   [2022-09-18 22:26:17.500 14117M]  -> Unique clients: 0
   [2022-09-18 22:26:17.500 14117M]  -> Known forward destinations: 0

From a client that you believe should be connected to the Pi-Hole for DNS, from the command prompt or terminal on that client (and not via ssh or Putty to the Pi), what is the output of

nslookup pi.hole

nslookup flurry.com

nslookup flurry.com 192.168.2.186

Thanks for the help. as you said pi hole is working, my system is not unfortunately going to pihole. Can I DM you pi hole debug log when i point my router DNS to 192.168.2.186?

nslookup pi.hole
Server: UnKnown
Address: 240b:10:cf20:8700:6ab:18ff:feab:36af

*** UnKnown can't find pi.hole: Non-existent domain

nslookup flurry.com
Server: UnKnown
Address: 240b:10:cf20:8700:6ab:18ff:feab:36af

Non-authoritative answer:
Name: flurry.com
Addresses: 74.6.136.150
212.82.100.150
98.136.103.23

nslookup flurry.com 192.168.2.186
Server: pi.hole
Address: 192.168.2.186

Name: flurry.com
Addresses: ::
0.0.0.0

Upload it and post the token URL.

I cant upload it I get this error. The DNS doesnt work to the tricorder.pi-hole

[?] Would you like to upload the log? [y/N] y
* Using curl for transmission.
* curl failed, contact Pi-hole support for assistance.
* Error message: curl: (6) Could not resolve host: tricorder.pi-hole.net

[✗] There was an error uploading your debug log.

  • Please try again or contact the Pi-hole team for assistance.
  • A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log

Run below one.
It temporarily changes the nameserver used in the /etc/resolv.conf file to that of Cloudflare @ 1.1.1.1:

sudo tee /etc/resolv.conf <<< 'nameserver 1.1.1.1'

And try again to upload the debug log?

Changes made by that sudo tee command will get reverted back to how it was before on reboot or network state change.

Thanks for the help everybody.

Changing the name server still doesnt let the pi hole send the debug report. Can i just send the text file somewhere?

PM it to me.

PMed!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.