Comments (13)
it supports only 1 forward per host per IP4 / IP6
from personaldnsfilter.
I just found a workaround:
Instead of putting !googlevideo.com
below *google*
put !*googlevideo.com
above it. It has to be wildcarded and above.
If there is no deeper issue behind it, I think this issue could be solved by correcting the comments in additionalHosts.txt and possibly change the predefined ordering in it.
from personaldnsfilter.
yes it seems it works as designed. In your first sample, there was no explicit entry for test.googlevideo.com, therefore it was blocked via the *google*
rule hitting first. In your 2nd sample it hits the !*googlevideo.com
rule first, thererfor it is whitelisted, whereas e.g. googleads.com would be blocked by *google*
rule.
from personaldnsfilter.
So is !googlevideo.com
not considered explicit or is it only considered explicit for googlevideo.com, but not for any sub-domain? I think this is what I misunderstood from:
# PRIORITIES in case of conflicting entries
# 1. Explicit entries without wildcards
# 2. Wildcard entries prioritized along the sequence in this file
# 3. Downloaded blocklist
from personaldnsfilter.
Exactly... Expicit means that there is an explicit entry for a domain /sub domain
from personaldnsfilter.
Thanks for clarifying!
Technically, I would say this issue can be closed. Only a few suggestions for additionalHosts.txt I would like to leave here for consideration to avoid confusion for others:
- mention the role of subdomains in the description of priorities as it seems that automatically derived subdomains are neither treated as explicit nor as wildcard
- move the whitelist section of the default file to the top and/or mention that if one wants to whitelist subdomains of matching wildcarded blacklist entries, this has to be done at the top AND using wildcards
from personaldnsfilter.
another question that might be relevant here or needs its own issue: does "forward to custom ip" support wildcards? I'm keen to use this project as a companion piece to my SNI proxy and hard-coding some dns suffixes will save the users a bunch of useless road trips to the server
from personaldnsfilter.
Today the custom IP forwards do not support wildcards.
What is possible is to change the IP used for filtered hosts - maybe that's an option.
from personaldnsfilter.
yes I saw a few "127.0.0.1" strings hardcoded in the app. would you be open to a PR for a setting to customize that? it'll solve my issue for sure :) could be a good one for some honeypot/fakenet implementations too
from personaldnsfilter.
You can customize it already today via following dnsfilter.conf settings:
# Returned IP for resolving blocked host
ipV4BlockedHost = 0.0.0.0
ipV6BlockedHost = ::
from personaldnsfilter.
oh nice. yes just saw it and it works flawlessly :) thanks!
from personaldnsfilter.
Today the custom IP forwards do not support wildcards
Hi,
is it possible to forward 1 host to 2 IPs?
Like:
myhost 192.168.1.21
myhost 192.168.1.22
That example above seems not to work, as (allways) the last entry is used ...
from personaldnsfilter.
Ok, thanx.
Would love it to see it the other way round, but thanx for quick response.
from personaldnsfilter.
Related Issues (20)
- [Question] upstream server Priority order HOT 3
- [Feature Request] Systemizing/Priv-apping PDNSF on rootless systems HOT 3
- [Request for Fix/Alternate Version with Fix] SSLProtocolException Android 4.4 HOT 5
- Pausing does not invalidate cache for some apps HOT 1
- [Feature Request] Possibility to use wildcards in Active Filters HOT 6
- [Feature request] Lock app with password and prevent it from being uninstalled HOT 5
- pDNSf (even in proxy mode) seems to keep RethinkDNS from auto-starting its 'VPN' at boot HOT 4
- Show the specific hosts entry which blocked a server HOT 2
- Quick Settings Tile and Ability to run VPN without opening the app HOT 2
- Redirecting a domain does not work HOT 2
- Not Working on Reddit HOT 1
- Is it possible to add CIDR bits to "Additional hosts"? HOT 4
- Domains being blocked without being explicitly named HOT 3
- 10.10.10.10 blocks openvpn HOT 1
- Not getting requests HOT 2
- list suggestion
- font colour in log HOT 2
- list of filter-lists does NOT update automatically between versions of personalDNSfilter HOT 2
- Enable start/stop with intent receiver HOT 8
- (Discussion) Request to extend 'additional syntax support' for adblocker HOT 2
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 personaldnsfilter.