No description
Find a file
2018-10-22 10:43:42 +01:00
.github Added sniproxy log messages (#38) 2018-10-22 10:43:42 +01:00
scripts Add unbound generation script (#16) 2018-06-23 18:25:18 +01:00
.gitignore Add unbound generation script (#16) 2018-06-23 18:25:18 +01:00
apple.txt More hostnames 2017-12-05 21:37:27 +00:00
arenanet.txt More hostnames and new files for GOG, Hirez and Sony. 2017-12-05 22:12:21 +00:00
blizzard.txt New blizzard domain 2018-09-16 12:55:28 -07:00
cache_domains.json Remove GOG due to switch to HTTPS (#34) 2018-09-10 17:47:16 +01:00
daybreak.txt Update daybreak.txt 2018-06-27 22:51:51 +01:00
frontier.txt Change to txt files instead of markdown to allow for auto-generating of config for various DNS servers, cache config, etc. 2017-12-04 11:57:31 +00:00
hirez.txt More hostnames and new files for GOG, Hirez and Sony. 2017-12-05 22:12:21 +00:00
LICENSE Update readme and license copyright 2017-12-04 12:00:31 +00:00
minecraft.txt Added minecraft client assets download cdn 2017-12-21 21:32:11 +01:00
nexusmods.txt More hostnames 2017-12-05 21:37:27 +00:00
nintendo.txt Added Nintendo Switch EShop (#15) 2018-06-23 18:23:58 +01:00
origin.txt Adding hostnames for Origin, Riot, Steam and Windows update 2018-01-07 03:44:01 +00:00
README.md Update README.md 2018-03-06 09:41:06 +00:00
renegadex.txt Add Renegade X CDNs 2018-08-23 02:35:22 +01:00
riot.txt Adding hostnames for Origin, Riot, Steam and Windows update 2018-01-07 03:44:01 +00:00
rockstar.txt More hostnames 2017-12-05 21:37:27 +00:00
sony.txt More hostnames and new files for GOG, Hirez and Sony. 2017-12-05 22:12:21 +00:00
steam.txt Update steam.txt with new akamai dns 2018-08-27 20:32:56 +02:00
twitchapp.txt Remove trailing comma from Twitch cloudfront domain 2018-08-15 13:34:54 +01:00
uplay.txt Added star in front of dot 2018-03-06 01:45:54 +01:00
wargaming.net.txt Added Asia Download Server 2018-08-31 00:10:41 +09:30
windowsupdates.txt New windows update dns (#27) 2018-10-03 10:49:22 +01:00
xboxlive.txt More hostnames and new files for GOG, Hirez and Sony. 2017-12-05 22:12:21 +00:00

Game Content Cache Hostnames

Introduction

This is a list of all hostnames that are required to be redirected for running a game content cache. This list will change frequently so this is designed to be a definitive list.

Usage

You can use this list one of two ways:

  • Overriding DNS for these hostnames to point to the IP of your cache server.
  • Use them in Squid with WCCP to redirect content to the right cache server.

There is a cache_domains.json file to define CDNs and additional meta deta with the following structure

  • cache_domains: Array of cache_domain object
    • name: shortname for the cache domain
    • description: a longer description to aid others in identifying what this domain does (not all users of this repo will want to enable all caches)
    • notes: implementation specific notes which may be useful for other users
    • mixed_content: true if this domain hosts mixed https and http content (a straight dns injection is unlikely to work in this case). Assumed to be false if undefined
    • domain_files: array of files within the repo assosciated to the cdn. Most cdn's only need one file
    • Example domain entry for origin
{
	"cache_domains": [
		{
			"name": "origin",
			"description": "CDN for origin",
			"notes": "Should be enabled for HTTP traffic only or with a HTTPS proxy else origin client download fails",
			"mixed_content": true,
			"domain_files": ["origin.txt"]
		}
	]
}

Host file format

There is a separate file for each cacheable service. Some notes on formatting:

  • Every line should be a seperate hostname for that service.
  • Only one entry is permitted per line.
  • Wildcards are permitted as per below
  • Lines starting with a # will be treated as a comment.
  • Files must end with an empty newline.

Wildcards

The wildcard format shall be defined as per the below

  • Wildcards should be represented with an asterix.
  • If a wildcard is used, it should be the first character on the line.
  • Wildcards are not treated as matching null, e.g. *.example.com will match a.example.com but will not match example.com
  • Only simple domain wildcards will be accepted eg *.example.com not *ww.example.com
Notes for Squid users

If you are using these files within a squid dst_domain acl you will need to reformat the wildcard entries to be compliant with the squid acl format. The following regex should suffice s/*\./\./

Updates

Please fork this repository and submit pull requests if you have any extra hostnames or services to add. We want this list to be definitive and collaborative!

New CDNs

If the CDN you are adding does not already exist please remember to add an entry within cache_domains.json as well as a new .txt file

Issues and Feedback

Please raise all issues and feedback on GitHub at uklans/cache-domains.

License

The MIT License (MIT)

Copyright (c) 2017 UK LAN Techs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.