pi-hole / pi-hole

A black hole for Internet advertisements
https://pi-hole.net
Other
49.07k stars 2.7k forks source link

After dnsmasq update to 2.76 still no query log entry - pi-hole 3.3 Raspbian Jessie #2067

Closed squibber closed 6 years ago

squibber commented 6 years ago

In raising this issue, I confirm the following: {please fill the checkboxes, e.g: [X]}


Expected behaviour:

Query log shows log entries

Actual behaviour:

Query log is empty

Debug token provided by uploading pihole -d log:

ekf739sdlz

Troubleshooting undertaken, and/or other relevant information:

Pi-hole Version v3.3 Web Interface Version v3.3 FTL Version v3.0

I am running pi-hole v3.3 on raspbian jessie and I am aware of the dnsmasq problem and followed your advise to update dnsmasq to version 2.76. The dashboard is looking fine and pi-hole blocks as expected but still I do not see any entries in query log. I flushed the logs several times, rebooted the system but to no avail.

AzureMarker commented 6 years ago

What is the output of echo ">getallqueries" | nc localhost 4711 | head

squibber commented 6 years ago

The output is

1546210824 IPv4 f3.shared.global.fastly.net 1-178-168-194.static.virginm.net 2 0 1546210840 IPv4 clientservices.googleapis.com 1-178-168-194.static.virginm.net 2 0 1546210848 IPv4 player.vimeo.com 1-178-168-194.static.virginm.net 2 0 1546210849 IPv4 f3.shared.global.fastly.net 1-178-168-194.static.virginm.net 2 0 1546210873 IPv4 2.client-channel.google.com 1-178-168-194.static.virginm.net 2 0 1546210884 IPv4 www.google.com 1-178-168-194.static.virginm.net 2 0 1546210890 IPv4 f3.shared.global.fastly.net 1-178-168-194.static.virginm.net 2 0 1546210893 IPv4 securepubads.g.doubleclick.net 1-178-168-194.static.virginm.net 1 0

squibber commented 6 years ago

No one having a clue what is going on here?

squibber commented 6 years ago

I updated Pi-hole to the latest version v3.3.1 and generated a new debug token:

Debug token provided by uploading pihole -d log: 2qtwl0q19v

squibber commented 6 years ago

It is getting worse.. after updating to 3.3.1 there is no data shown in the dashboard anymore. So no dashboard data and no query entries..

AzureMarker commented 6 years ago

Sorry, this thread was somehow lost from my list. If you open the dev tools (F12) and refresh the page, do you see any errors in the console or network tabs? What browser are you using to test?

Also, what is the output of this command?

echo ">stats" | nc localhost 4711
squibber commented 6 years ago

I am using the latest Firefox 59.0.2.

Opening the dev tools and refreshing the page reveals in the console

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert ("script-src"). Source: (function (NAVIGATOR, OBJECT) {

OBJ....

index.php:1 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert ("script-src"). Source: (function (ERROR) {

const V8_STACK_....

Translated: The page’s settings blocked the loading of a resource at self..

squibber commented 6 years ago

echo ">stats" | nc localhost 4711

domains_being_blocked 122931 dns_queries_today 0 ads_blocked_today 0 ads_percentage_today 0.000000 unique_domains 0 queries_forwarded 0 queries_cached 0 clients_ever_seen 0 unique_clients 0 status enabled ---EOM---

squibber commented 6 years ago

I just restarted the system and now it seems working fine. Thanks for your time anyway.