Comments (10)
This is a good question, I assume there is some encoding issue going on, let's try to find this out.
Please try first
sqlite3 /etc/pihole/gravity.db "SELECT * FROM domainlist;"
and quote the reply as copy & paste here.
from adminlte.
Can you please try to generate a new debug log?
Apparently there was an issue during the log creation and the last lines are not present (the log is truncated).
from adminlte.
This domain should have been converted to Punycode encoding (xn--_g-5ia1b
) automatically, like so:
Note
This screenshot is from a Pi-hole v6.0 machine, though, so it may de different from what you are seeing (I cannot test v5.x right now).
Could you quickly verify in your /var/log/pihole/pihole.log
if the domain is really queried like this in UTF-8 form? This would indeed violate the DNS standard and will always fail - as the NXDOMAIN
reply confirms in your case.
from adminlte.
Can you please try to generate a new debug log?
Apparently there was an issue during the log creation and the last lines are not present (the log is truncated).
ok sure. I used the admin UI to generate a new token: https://tricorder.pi-hole.net/dnzRup8A/
Size on disk is 31807.
from adminlte.
Could you quickly verify in your
/var/log/pihole/pihole.log
if the domain is really queried like this in UTF-8 form?
Here's what I'm seeing in pihole.log
Apr 3 17:08:06 dnsmasq[5130]: query[A] <name unprintable> from 192.168.88.210
Apr 3 17:08:06 dnsmasq[5130]: config <name unprintable> is NXDOMAIN
from adminlte.
For this bug, have also noticed that a domain can be on the blacklist and an allowed query at the same time.
from adminlte.
have also noticed that a domain can be on the blacklist and an allowed query at the same time
This is intentional and actually a feature. You may want to allow a domain for certain devices and block it for others. You can achieve this by assigning different groups to the two entries.
Here's what I'm seeing in pihole.log
Apr 3 17:08:06 dnsmasq[5130]: query[A] from 192.168.88.210
Apr 3 17:08:06 dnsmasq[5130]: config is NXDOMAIN
So the illegal requests are made by whatever application is responsible for them. Non-ASCII is illegal in DNS so they'll never resolve.
from adminlte.
Right, but staying on topic: why are they on the blocklist but not being blocked?
from adminlte.
sqlite3 /etc/pihole/gravity.db "SELECT * FROM domainlist;"
and quote the reply as copy & paste here.
$ sqlite3 /etc/pihole/gravity.db "SELECT * FROM domainlist;"
1|1|srv.giraffic.com|1|1711993019|1711993019|Added from Query Log
2|0|cdn.jsdelivr.net|1|1712084293|1712085528|Discovery+
3|0|discovery-us.conax.cloud|1|1712084655|1712084655|Discovery+
4|0|js-agent.newrelic.com|1|1712084841|1712085521|Discovery+
5|0|cdn.cookielaw.org|1|1712084966|1712085525|Discovery+
7|1|ñ_gç|1|1712085500|1712085500|Added from Query Log
9|1|¹æº|1|1712261108|1712266215|Added from Audit Log
from adminlte.
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.
from adminlte.
Related Issues (20)
- Group assignment dropdown not always populated HOT 4
- Local DNS records and CNAME don't show pagination buttons HOT 11
- After clicking on the +/- icon they keep the "active" state making them nearly invisible with dark theme HOT 1
- After datatables update, tables are no longer striped HOT 1
- Save button on boxed layout outside of content area HOT 1
- SQL-Error on fresh installation on Raspberry HOT 3
- Web GUI add domain to whitelist / blacklist is added only in default group HOT 1
- No log in for a week HOT 7
- admin/scripts/pi-hole/php/customdns.php and admin/dns_records.php: CORS is something the browser handles, not the server HOT 3
- CNAME records not imported to v6 from v5 Teleport file HOT 11
- /admin/scripts/pi-hole/php/customdns.php persistently fails even with password disabled HOT 2
- Update Gravity page is redirect depending on the settings level HOT 1
- Mapping 2 MAC addresses to the same IP address not displayed correctly on web HOT 2
- "Total queries over last 24 hours" empty HOT 4
- NAN on Admin Stats with Multiple Containerized Pihole Admin Consoles HOT 15
- Glow effect in "Total Queries" box result in blurry text. HOT 5
- Universal Time Displayed in Firefox Instead of Local Time HOT 3
- Teleporter import adds "default" to all domainlist_by_group.json entries. HOT 1
- Disabled Blocking doesn't get resumed after timer expiry. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adminlte.