Commit Graph

251 Commits

Author SHA1 Message Date
Amir Zarrinkafsh
098c1e9c54
feat: add lefthook, megalinter and update editorconfig (#270)
This change adds [LeftHook](https://lefthook.dev/) as a GitHub hook management tool alongside [MegaLinter](https://megalinter.io/) to lint all relevant files within the repository.

For users that don't end up installing LeftHook for pre-commit hooks, megalinter picks up the necessary formatting changes and reports them.

* feat: add lefthook, megalinter and update editorconfig
* fix: lint commit ordering
* refactor: adjust megalinter reporters
* refactor: adjust description for cache domains
* refactor: single - for passing options
* refactor: add repo-specific fmt in megalinter pre-commands too
2025-07-24 10:59:52 +10:00
Amir Zarrinkafsh
e7fc17ae5b
fix(wsus): add missing domains (#269)
This change looks to address some missing domains that seem to be included in the [11notes/windows-update-cache](https://github.com/11notes/docker-windows-update-cache/blob/main/rootfs/etc/nginx/.default/nginx.conf) project.

Closes #231.
2025-07-18 14:08:04 +01:00
Amir Zarrinkafsh
914630b45b
fix(nintendo): remove obsolete entry (#266)
The domain in question is already covered by a wildcard defined further in the list. In AdGuard Home this was causing said domain to have a round-robin DNS entry with the same IP twice.
2025-07-18 10:04:48 +01:00
Amir Zarrinkafsh
0fb55395bb
fix: explicitly specify ipv4 addresses in adguard script (#265)
* fix: explicitly specify ipv4 addresses

This change fixes the AdGuard Home generation script by disabling the return of ipv6 addresses. This would have been causing issues for users who are running dual stack with the addresses that accept both ipv4 and ipv6 traffic.

* fix: explicitly block returning on ipv6 queries
2025-07-18 09:39:48 +01:00
Robert Pendell
8d958802a5
Fix line endings so that scripts generate correctly. (#264) 2025-07-17 07:49:50 +01:00
James Kinsman
490f1d2c23
Merge pull request #263 from uklans/test
Add new test CDN

When a network is using lancache-dns individual service configuration can be tested using nslookup <service>.cache.lancache.net however if a network is using the generator configs these lancache domains don't exist. This PR adds a new test service for ease of memory for diagnostics
2025-07-16 21:07:19 +01:00
James Kinsman
46712eff2c
Update test.txt
missing blank line
2025-07-16 20:18:56 +01:00
James Kinsman
6c12ed6be5
Add new test CDN
Add new test cdn for the use in testing and diagnostics. Assuming the test service is enabled test.cache.lancache.net and canary.uklans.net will respond with a lancache IP
2025-07-16 20:11:18 +01:00
James Kinsman
67535f7b9f
Merge pull request #257 from zsabit/patch-1
Added new fastly cdn dns epicgames.txt
2025-05-07 08:18:09 +01:00
Jack Eller
2e4b716e39
Adds CDNs for Call of Duty content (#261)
* Update cache_domains.json

Adds cod file to cache domains definition

* Create cod.txt

Adds domains to definition cod.txt

* Update cod.txt

Removes accidental whitespace
2025-04-04 12:25:37 +01:00
Sabit Zubair
e288a34308
Added new fastly cdn dns epicgames.txt
Recently found epicgames using new cache domain to download content from Fastly CDN then looked for the IP and domain then found the committed domain.

[egdownload.fastly-edge.com] 103.14.145.249 / - - - [13/Jan/2025:03:43:56 +0600] "GET /Builds/Org/o-dhz7kpvrvqngzdpnx5vn3jrljj53ca/68d2cc08f9a94b8fb51af4f5cfa6d41b/default/ChunksV4/54/A22AC07FF687FF79_8BE04A9545854CE8C1BF05851D60D52D.chunk HTTP/1.1" 200 1048642 "-" "EpicGamesLauncher/17.2.1-38570976+++Portal+Release-Live Windows/10.0.26100.1.256.64bit" "MISS" "egdownload.fastly-edge.com" "-"
2025-01-13 03:50:45 +06:00
Amir Zarrinkafsh
67594ce10c
Update scripts and add combined_output flag (#251)
* Update scripts and add combined_output flag

* Add editorconfig to enforcing formatting requirements

* Adjust generic references to monolithic
2024-10-25 09:13:50 +01:00
James Kinsman
7fbb21e32c
Merge pull request #250 from theraspb3rry/master
Add gst.prod.dl.playstation.net and others back to sony.txt
2024-10-13 08:33:00 +01:00
Michael raspberry
a5341d3aa7 add extra playstation cdn hosts
7994db263e/sony.txt
2024-10-09 19:40:10 +11:00
Cronus89
889fc5dd2e
Update renegadex.txt (#249)
Update URL's for RenegadeX Downloads, that work over http. Our Launcher will need updating, but this is the first bit.
2024-08-14 16:04:04 +01:00
Tim Pilius
1f5897f4da
Update epicgames.txt (#243) 2024-05-06 15:09:41 +01:00
Proto
d7f4061d17
Update epicgames.txt (#241)
Added domains based on uklans issue 240
2024-05-05 08:16:53 +01:00
Travis Snoozy
31b2ba1e0a
Tell dnsmasq not to pass requests upstream (#223)
* Tell dnsmasq not to pass requests upstream

The behavior of dnsmasq changed in version 2.86 -- before then, if a record was set for a domain name with dnsmasq, and a record for a type not specified for that domain was requested, dnsmasq would indicate no data existed for that record type. After 2.86, record types that are not specified are instead passed upstream. The latter behavior causes problems for, e.g., the Steam client, which will disregard a correctly set A-record for lancache.steamcontent.com, if no AAAA is set with dnsmasq and dnsmasq passes the AAAA query upstream. The documentation for dnsmasq indicates the correct way to restore the old behavior is to use the local=/host/ syntax -- emit this syntax for each of our lancache-hosted DNS entries.

* Update scripts/create-dnsmasq.sh

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

---------

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2023-03-28 11:36:46 +01:00
James Kinsman
257f009282
Merge pull request #197 from uklans/feature/reduce-steam-domains
Remove all Steam domains except lancache.steamcontent.com
2022-09-01 16:20:19 +01:00
James Kinsman
9157392408
Merge pull request #194 from NathanAdhitya/master
added AdGuard Home scripts
2022-08-18 13:51:34 +01:00
Nathan Adhitya
fb80d7a16a
Added bare IP example in config.example.json 2022-08-18 19:38:56 +07:00
James Kinsman
1bbfefd9bf
Revert "Adds google, adobe and ms office domains (#199)" (#201)
This reverts commit 1c59729c59.
2022-08-17 09:20:30 +01:00
Yuri Vidal
1c59729c59
Adds google, adobe and ms office domains (#199)
* add adobe, google and office
* Update cache_domains.json

Closes #192
2022-08-12 09:59:15 +01:00
James Kinsman
593765ccd1
Merge branch 'master' into feature/reduce-steam-domains 2022-07-29 08:30:54 +01:00
James Kinsman
a13379f63b
Merge pull request #196 from nightah/fix-clean-more-hosts
Clean additional CDN hosts
2022-07-29 08:19:27 +01:00
James Kinsman
8dec36e72f
Update blizzard.txt
Leaving comcast in, comcast is weird and I believe resolves things internally differently to externally so this is probably ok.
2022-07-29 08:19:01 +01:00
James Kinsman
42da81da6d
Update steam.txt
Reverted steam.txt for seperate discussion
2022-07-29 08:17:12 +01:00
Amir Zarrinkafsh
4155d3db26
Clean additional CDN hosts
This change addresses some general housecleaning for CDN hosts:

* Removing all hosts that do not resolve
* Only including the Steam CDN trigger address
2022-07-28 13:13:11 +10:00
James Kinsman
0f9ef2a640
Merge pull request #195 from nightah/fix-clean-cdn-domains
Clean CDN hosts
2022-07-22 08:17:44 +01:00
Amir Zarrinkafsh
03a391f648
Clean CDN hosts
This change addresses some general housecleaning for CDN hosts:

* Removing all hosts that do not resolve
* Removing any rogue whitespaces in CDN `.txt` files
* Removing hirez CDN (as the only host could not be resolved)
2022-07-22 10:20:05 +10:00
Nathan Adhitya
885cea3899
added AdGuard Home scripts 2022-07-19 19:23:56 +07:00
James Kinsman
bf6c0e3f09
Merge pull request #161 from arti86pl/master
Update wargaming.net.txt
2022-07-18 09:18:32 +01:00
Daniel Hoffend
df6d36d1b7
Script Support for RPZ Domains (#180)
* add script to generate bind response policy zone for dns manipulation/filtering
* rpz: support custom basedomain via cli arg
* Update create-rpz.sh
* changed times to match current lanacache_dns
2022-04-03 15:53:00 +01:00
James Kinsman
d700052e59
Merge pull request #188 from Cronus89/patch-3
Update RenegadeX domains
2022-03-16 07:56:54 +00:00
Cronus89
2ea1782d42
Update RenegadeX domains 2022-03-15 22:25:28 -05:00
Jessica Smith
b744d5a0e8
Remove all Steam domains except lancache.steamcontent.com 2022-01-20 10:26:24 +00:00
Barry Zubel
fbf9b82b6b
Update xboxlive.txt (#183)
Add additional xvcf2 subdomain discovered at StratLAN
2021-11-27 10:05:10 +00:00
James Kinsman
6fcb8dc7f7
Update README.md 2021-11-26 09:46:17 +00:00
Barry Zubel
f6c202775e
Update origin.txt (#182)
Updated origin.txt to include SWTOR CDN
2021-11-26 09:43:29 +00:00
wofnull
54badf9cf8
removed dlassets.xboxlive.com (#181)
Credit to @wofnull
2021-11-11 18:03:03 +00:00
James Kinsman
cd6b769bbb
Merge pull request #179 from nightah/fix-additional-whiteline
Remove additional newline
2021-10-14 09:46:33 +01:00
Amir Zarrinkafsh
87f92467f7
Remove additional newline 2021-10-14 09:05:05 +11:00
James Kinsman
faaff8b2f7 Added some commentry to create-squid.sh 2021-10-10 12:44:18 +00:00
James Kinsman
fa937dd75f
Merge pull request #178 from uklans/squid
Add script to create the acl files for squid
2021-10-10 13:36:46 +01:00
James Kinsman
6730915c73 Add script to create the acl files for squid
Importing these files into squid and creating the relevant
upstream proxies is left as an exercise for the user!
2021-10-10 12:29:07 +00:00
Jessica Smith
0cf9233dc1
Update for City of Heroes (#176) 2021-09-26 01:33:33 +01:00
James Kinsman
cfcdf1b7c5
Merge pull request #174 from nightah/update-dnsmasq-roundrobin
Simplify Dnsmasq script
2021-09-15 13:28:29 +01:00
Amir Zarrinkafsh
9ea56243de
Simplify Dnsmasq script
[Dnsmasq version >= 2.86](https://thekelleys.org.uk/dnsmasq/CHANGELOG) supports passing multiple IP addresses via the `address=` syntax now.

>Major rewrite of the DNS server and domain handling code. The change makes multiple addresses associated with a domain work address=/example.com/1.2.3.4 address=/example.com/5.6.7.8.

This allows us to simplify the script and the `.hosts` file workaround is no longer necessary.
2021-09-12 10:15:11 +10:00
Matthew Hayward
50e5d28ed4
update Renegade X CDNs (#173)
* update Renegade X CDNs
2021-08-22 10:44:41 +01:00
ukkev
ca64841d12
Update epicgames.txt and steam.txt (#166)
* Update epicgames.txt
* Update steam.txt
2021-06-27 17:50:24 +01:00