-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unbound.cmd #1
Comments
Addressing following issue: ScriptTiger/Hosts-Conversions#1
I've reverted everything back to the old format since this is a pretty critical problem. Thanks for letting me know! |
I was a bit hasty on this one and forgot to drop the subdomain pruning on the first commits, but just corrected that. Subdomains are not automatically blocked with the current redirect structure, right? I think we talked about that before, bust just making sure. |
No that shouldn't be a problem with the redirect, but you differently loose the huge benefits from the nxdomain in timeouts 😡 Will take this up with the guys writing unbound as is have a huge impact on my project.... |
Definitely let me know later what happens with this, if it gets resolved or if I can put it back, etc. |
@spirillen, if you need to do testing with the old script to remove subdomains and make sure all parents are only listed once, etc., use this version: |
I just read your latest comment in the other thread, did you figure out the problem? Was it a problem with your config? Let me know if I can revert the commits back to before if they work. |
I most find a windows inst somewhere and make a virtual 😃 But have you an idea on how to apply whitelisted 9th. level domains? |
I don't use Unbound, but have you tried this?
X.X.X.X=IP of whitelist.this.3gupload.112.2o7.net You can do an
If this is just for home use, you don't really need to list all of them. I usually just take the top one and use that. |
If Unbound can do conditional forwarding so you can point "whitelist.this.3gupload.112.2o7.net" to use another name server, like 8.8.8.8 (Google DNS), that should work too. But, like I said, I am not too familiar with Unbound. |
Every DNS software might handle precedence differently though, so a conditional forwarder might work if it takes precedence over a local-zone always_nxdomain record. But it may not, depending on the DNS software. So you'll have to play with those options to see which works best with Unbound. |
Funny just made a thought about that here 😆 |
You should do whatever Unbound recommends. I know DualServer, for instance, does not give conditional forwarders precedence over "wild hosts," wild card host entries you can use to block domains with certain keywords, etc., so it wouldn't work in that case. But if it works for Unbound in this case, it's a lot easier because you don't have to worry about managing the IPs. |
@ScriptTiger you are on windows, could you please try this setup with an unbound? |
I will check it out next week, I'm heading out of town now for the next few days. So |
Looks like it on my local test, and then we should be aware and maybe add a note in the top of the file that says how to whitelist a 7th level domain by local-zone: "sub.lvl.example.net" transparent But personally i would let it test on a windows installation first.... and leave it with the current rewrite |
I just downloaded Unbound so I don't forget. The first thing I saw when I opened the archive is the file
So it seems the developers of Unbound recommend this way. |
Or it's just some rather outdated ex. 😄 Well it is the recommended if you don't have a proper whitelist, but @mitchellkrogza have a nice whitelist for the drug addicted fb and google zombies But according to this comment I see no issues in doing always_nxdomain
|
I'm reopening this issue to remind me to revisit it once again when I come back. |
Follow-up to the following issues: ScriptTiger/Hosts-Conversions#1 #2
Follow-up to the following issues: #1 ScriptTiger/scripttiger.github.io#2
Addressing following issue: ScriptTiger/Hosts-Conversions#1
Follow-up to the following issues: ScriptTiger/Hosts-Conversions#1 #2
Hi @ScriptTiger Just for information, You might have a look on this thread about memory usage in huge zone with a local-zone: "example.com" redirect
local-data: "example.com A 0.0.0.0" Versus local-zone: "example.com" always_nxdomain |
It looks like Unbound don't understand that if you add a 3. or 4. lvl domain it should be blocking the 2. lvl domain :(
Here is an example
Now let try a dig of
microsoft.com
As shown unbound is not only blocking from tld.secondlelvel to fourth.level etc but also the other way from fourth to second level 😞 so the use of always_nxdomain value leads to unwanted issues.
Currently I have no idea how to solve this.....
The text was updated successfully, but these errors were encountered: