Comments (9)
@VibroAxe
🤣 ... Oh man must have missed that. Thank you! I am going to assume that in the cache_domains.json "names" are the proper services to reference. Awesome work btw!
from cache-domains.
I forgot to ask, is there a method to clean up the cache as keeping Windows Updates for perhaps 10 years is a bit excessive.
from cache-domains.
The best way to do this is to exclude it from your DNS container.
For lancache-dns, the best way to do this is to take advantage of the CACHE_DOMAINS_REPO flag
By default, the flag on the lancache-dns container is set to this repo. If you were to fork it and remove the wsus entry from cache_domains.json, the DNS container would not load those hostnames.
The relevant section in the lancache-dns README is called "Custom forks and branches", which gives far more detail on this. The additional argumet you would need, copied and pasted from there is:
-e CACHE_DOMAINS_REPO="https://github.com/your-username/cache-domains.git"
As for cleaning up, not really at the moment. I have been playing with writing a "cache interrogator", to let advanced users take a peek at what is in their cache, but it's nowhere near ready.
It's worth noting that every cached file contains a KEY:
header, which will begin KEY: wsus/
and will continue with the rest of the URL, but this can be quite an intensive operation to seek out and identify.
from cache-domains.
Could I work around it by manually entering the WSUS domains in windowsupdates.txt into the Windows DNS Conditional Forwarders section? ie: Effectively getting an earlier-in-the-chain DNS resolver to answer the client before Lancache intercepts the client query?
from cache-domains.
If you are using lancache-dns somewhere in your chain just specify -e DISABLE_WSUS
and it not intercept the data. If you are using your own DNS interception then remove the wsus domains (https://github.com/uklans/cache-domains/blob/master/windowsupdates.txt).
You don't need to remove the mapping from monolithic itself that just helps to categorise data to prevent collisions.
from cache-domains.
@VibroAxe
First time user of LanCache here. When you said "If you are using lancache-dns somewhere in your chain just specify -e DISABLE_WSUS", did you mean put DISABLE_WSUS=true in the .env file? This should disable that list?
from cache-domains.
Correct, the -e is for a docker run, the .env format is as you suggested
from cache-domains.
@VibroAxe
Thank you! This issue was the first time I have seen the DISABLE_WSUS environmental variable. Is there a list of "hidden" variables and accepted values that can be shared? Maybe also a description of what each variable does?
from cache-domains.
Yup, in the documentation 🤣 https://lancache.net/docs/containers/dns/
from cache-domains.
Related Issues (20)
- Support for Genshin Impact
- Error when running create-dnsmasq.sh HOT 2
- Speed issues with Valorant patching HOT 18
- Steam donwloads HOT 8
- Can't cache Steam on a Comcast connection HOT 3
- Parse error: invalid numeric literal at line 4, column 0 HOT 1
- lookup to 77.68.81.103 HOT 1
- Quest store? HOT 1
- EA Desktop app HOT 3
- no internet to my router HOT 1
- Riot Valorant doesn't get cached HOT 11
- WSUS - Add missing cache domains
- Renegade X Using HTTPS HOT 2
- MSFS 2020 doesn't cache HOT 4
- Generating AdGuard Config let it still be necessary to let a DNS server for LANCache running HOT 9
- torrent cache domains
- create-adguardhome - incorrect permissions
- New Epic domains HOT 5
- Rockstar games HOT 2
- Possible to Add Amazon Games Launcer?
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 cache-domains.