No description
Find a file
ukkev ca64841d12
Update epicgames.txt and steam.txt (#166)
* Update epicgames.txt
* Update steam.txt
2021-06-27 17:50:24 +01:00
.github Added sniproxy log messages (#38) 2018-10-22 10:43:42 +01:00
scripts Remove duplicates in Unbound generation script 2021-06-15 13:14:49 +10:00
.gitignore Update .gitignore 2021-01-15 12:15:28 +00:00
arenanet.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
blizzard.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
bsg.txt removed na.d.gcdn.co & d.gcdn.co from bsg.txt 2020-03-06 16:37:54 -05:00
cache_domains.json Remove reference to Twitch CDN 2021-06-09 14:10:12 +01:00
cityofheroes.txt Add second CoH hostname. (#128) 2020-02-12 15:57:37 +00:00
daybreak.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
epicgames.txt Update epicgames.txt and steam.txt (#166) 2021-06-27 17:50:24 +01:00
faq.md FAQ updates 2019-12-12 14:10:16 +00:00
frontier.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
hirez.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
LICENSE Update readme and license copyright 2017-12-04 12:00:31 +00:00
neverwinter.txt fix commas and whitespace. 2019-07-08 14:25:42 +01:00
nexusmods.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
nintendo.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
origin.txt Add more Sony domains (#167) 2021-06-06 23:14:22 +01:00
pathofexile.txt Path Of Exile CDN added (#138) 2020-10-22 10:05:52 +01:00
README.md Add README.md for DNS generation scripts 2021-01-15 08:48:31 +11:00
renegadex.txt Updated list of Patch mirrors for Renegade-X 2021-05-20 14:10:00 -05:00
riot.txt Domain correction for Riot's new chunking patcher (#105) 2019-07-31 09:13:34 +01:00
rockstar.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
sony.txt Add more Sony domains (#167) 2021-06-06 23:14:22 +01:00
square.txt Add FFXIV CDN (#142) 2020-08-21 11:12:55 +01:00
steam.txt Update epicgames.txt and steam.txt (#166) 2021-06-27 17:50:24 +01:00
teso.txt Add Elder Scrolls online CDN 2019-06-23 13:05:26 +01:00
uplay.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
warframe.txt Add warframe CDN details 2019-07-07 15:50:11 +01:00
wargaming.net.txt All files now have an empty blank line at end of file. 2019-03-07 11:33:53 -05:00
windowsupdates.txt Removed office cdn due to slicing incompatibility (#131) 2020-02-23 14:44:57 +00:00
xboxlive.txt Update xboxlive.txt 2020-11-02 11:54:16 +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 metadata with the following structure

  • cache_domains: Array of cache_domain object
    • name: shortname for the cache domain. Should match ^[0-9A-Za-z]$
    • 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
    • domain_files: array of files within the repo associated to the cdn. Most CDNs only need one file
    • Example domain entry for steam
{
    "cache_domains": [
        {
            "name": "steam",
            "description": "CDN for steam platform",
            "domain_files": ["steam.txt"]
        }
    ]
}

Host file format

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

  • Every line should be a separate 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.
  • File names must match the regular expression ^[0-9A-Za-z].txt

Wildcards

The wildcard format shall be defined as per the below

  • Wildcards should be represented with an asterisk.
  • 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 e.g. *.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

Uncacheable CDNs

Certain CDNs are not suitable for inclusion on this list because the content is entirely delivered over HTTPS and thus cannot be cached.

For a list of currently identified uncacheable CDNs please see these issues: https://github.com/uklans/cache-domains/issues?q=is%3Aissue+is%3Aopen+label%3Ahttps-cantfix

Frequently Asked Questions

If you have any questions, please check our FAQs.

Issues and Feedback

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

Useful Information

There are a few useful anecdotes on cache domains usage in some old issues https://github.com/uklans/cache-domains/issues?q=is%3Aissue+is%3Aclosed+label%3Afor-reference-only

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.