Warning in dnsmasq core

Pi-hole diagnosis keep giving me these errors and I don't know how to fix it at all:
error 1:interface eth0 does not currently exist
error 2:reducing DNS packet size for nameserver 8.8.4.4 to 1232

**The issue I am facing:pi hole is not blocking any the ads and i have my router dns server set to the right IP (192.168.50.126)

**Details about my system:raspberry pi 4 running on pi OS

**What I have changed since installing Pi-hole: changed my 5Ghz WiFi channel bandwidth to 80Hhz and control channel to 161 because i couldn't connect to my 5Ghz WIFI

https://tricorder.pi-hole.net/z7wBiKIp/

See the documentation listed under each warning:

https://docs.pi-hole.net/ftldns/dnsmasq_warn/

Clients connecting to WiFi is separate from any Pi-hole activity. That is a transaction between the client and the router.

That's not what the clients are seeing:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   * Received 300 bytes from eth0:192.168.50.1
     Offered IP address: 192.168.50.127
     Server IP address: 192.168.50.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.50.1
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.50.255
      dns-server: 192.168.50.1
      router: 192.168.50.1
      --- end of options ---
    
   DHCP packets received on interface eth0: 1
   DHCP packets received on interface lo: 0
   DHCP packets received on interface wlan0: 0

There is an active eth0 interface. The warning may have been generated on Pi-hole startup if the ethernet interface had not yet become active:

eth0 (192.168.50.126)

Your gravity list is empty:

*** [ DIAGNOSING ]: Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               15                                      
   updated               1665907501                              
   gravity_count         0                                       
   Last gravity run finished at: Sun Oct 16 03:05:01 CDT 2022

You have no subscribed adlists:

*** [ DIAGNOSING ]: Adlists

*** [ DIAGNOSING ]: contents of /etc/pihole

Restore at least one adlist, then rebuild gravity.

I just updated pi-hole now and I'm little confused, you want me to copy and paste everything that's in the in this --> https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

Please explain exactly because i have very little skills of any kind of networking, Thank you.

  • Log in to Pi-hole's web interface
  • Click on Adlists in the sidebar

Do you see your list https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts in the list below? Pi-hole comes with this list included as standard. If you don't see it then you can add it back.

adlists

To add it back

  • Just above where it says Add a new adlist, paste in the adlist address and click the Add button and it should now be showing in the list like above

add_adlist

Now you have to tell Pi-hole to inspect that list and extract all the domains from it to store locally in its adblocking database. Pi-hole calls this database Gravity. So you need to update Gravity. To do that

  • Click on Tools then Update Gravity in the sidebar
  • Click the long blue Update button over on the right

It will take a minute or two, so stay on that page until it says it's done. Now you're all done. If you go to the Dashboard in the sidebar you should see the green Domains on Adlists icon at the top now has many thousand domains on it, which all came from that list.

You can add more adlists from other locations, but don't forget to Update Gravity if you add a new list.

1 Like

No. The directions in the link are clear.

Take this URL

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

and add it to your adlists in the web Admin GUI. Then rebuild gravity.

the link was there the whole time so i just updated Gravity (for chrisIph) what else can i do now?
sorry for long response, work and person life gets in the way to fix my Pi-Hole.

Please provide a fresh debug token.

fresh debug token as of 11/6/2022

https://tricorder.pi-hole.net/5rblDtPA/

still not really resolved. so i'm still asking for help and i did what i was told to do and add the the link to the adlist. please any help i will take it.

Your debug token is: https://tricorder.pi-hole.net/erGw9ETW/

The warning that the eth0 interface doesn't exist appears to be caused by your ethernet interface not becoming active after a device restart, before Pi-hole looks for the interface.

You can delay Pi-hole startup to allow this interface to become active:

https://docs.pi-hole.net/ftldns/configfile/#delay_startup

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