Comments (9)
I’ll try to build a bash script which generates the needed YAML output. It’s working what I did manually
from cache-domains.
Not sure I understand your description of the problem, the whole point of the script generation is so that your upstream DNS service such as AdGuard can be called directly and the LANCache DNS container isn't necessary anymore.
from cache-domains.
from cache-domains.
I don't personally use AdGuard and it was a community contribution by @NathanAdhitya.
It looks like the script just needs to be written to use the dnsrewrite syntax.
from cache-domains.
I was surprised by the sudden tag. Indeed the rules it generates is to redirect the DNS queries for domains specified in this repo to LANCache's DNS Server. I'm not sure why rewriting it directly didn't come across my mind back then 😁.
I think the change/addition would be a good idea, although a separate script might be a better idea as changing the current script directly might break existing implementations.
from cache-domains.
The intent of the scripts in this repository are to create DNS rules to point to your LANcache instance. Not to forward to another upstream DNS on a per domain basis.
The easier way to achieve this with AdGuard would be to set its singular upstream as LANCache DNS and then set that upstream to whatever you use to resolve external DNS.
from cache-domains.
from cache-domains.
Not a perfect solution but works for me. I just went to the Custom Filtering Rules and added the IPhostname like this
192.168.2.2 com.edgesuite.net
192.168.2.2 com.nsatc.net
192.168.2.2 download.windowsupdate.com
-- snip --
from cache-domains.
I edited the AdGuardHome.yaml file directly to bulk add Adguard Home rewrites for all the new DNS entries. This way at least the log records in an expected way. I manually handle it from there based on new git commits here.
Example:
rewrites:
- domain: assetcdn.101.arenanetworks.com
answer: 10.0.0.209
- domain: assetcdn.102.arenanetworks.com
answer: 10.0.0.209
- domain: assetcdn.103.arenanetworks.com
answer: 10.0.0.209
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
- 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.