bntjah / lancache

Improve download speeds and reduce strain on your Internet connection at LAN parties. Locally cache game installs and updates from the largest distributors: Steam, RIOT, Blizard, Hirez, Origin, Sony, Microsoft, Tera, GOG, ArenaNetworks, WarGaming, and Uplay. Super easy to setup with auto installer script!
174 stars 44 forks source link

Missing a plain text lists of all domains\server_names\patterns per vhost #155

Open elico opened 4 years ago

elico commented 4 years ago

Related to: https://github.com/bntjah/lancache/issues/60

I am working on a Docker container just for the Web portion of the service. It's very simple to build, upgrade, test and run the system in a container. I have the service up and running, however I had to manually parse the unbound.conf file to generate the list of server_name directives per cache. Currently the only cache I am testing is for windows updates..

It would be very helpful to generate a text file with single lines per domain rule ie:

## ms downloads servers list
download.microsoft.com.
update.microsoft.com.akadns.net.
update.microsoft.com.nsatc.net.
windowsupdate.com.
update.microsoft.com.
windowsupdate.microsoft.com.
msxbassets.loris.llnwd.net.
hwcdn.net
assets1.xboxlive.com.
assets2.xboxlive.com.
xboxone.loris.llnwd.net.
xboxone.vo.llnwd.net.
images-eds.xboxlive.com.
xbox-mbr.xboxlive.com
assets1.xboxlive.com.nsatc.net.
fullproduct.download.microsoft.com.
dlassets.xboxlive.com.
tlu.dl.delivery.mp.microsoft.com.
officecdn.microsoft.com.edgesuite.net.
#London MS CDNs New 3/17/2018
lcy.llnw.net.
lon.llnw.net.
#XBOX 360 Downloads#
download.xbox.com.
#Github Issue #111 #
bg.v4.a.dl.ws.microsoft.com.
#Github Issue #146
go.microsoft.com.
download.sysinternals.com.
download.visualstudio.microsoft.com.
definitionupdates.microsoft.com.

From this file we can auto-generate unbound/bind/dnsmasq/other config files.