Coder Social home page Coder Social logo

lancache-dns's Introduction

Lan Cache DNS Docker Container

Docker Pulls Docker Pulls Docker Pulls Docker Pulls

Documentation

The documentation for the LanCache.net project can be found on our website

The specific documentation for this lancache-dns container is here

If you have any problems after reading the documentation please see the support page before opening a new issue on github.

License

The MIT License (MIT)

Copyright (c) 2015-2017 Jessica Smith, Robin Lewis, Brian Wojtczak, Jason Rivers, James Kinsman

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.

lancache-dns's People

Contributors

astrolox avatar ehazlett avatar glitchvid avatar gotenxiao avatar jasonrivers avatar jeffyl avatar lepidopterist avatar mathewburnett avatar miketweaver avatar mintopia avatar stephanseidel avatar thegrandpackard avatar unspec avatar vibroaxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lancache-dns's Issues

DNS not working with windows update cache

Issue Description:

When only using the windows update cache the steamcache-dns keeps restarting.

Docker Run Command:

sudo docker run
--restart unless-stopped -d
--name steamcache-dns
-p 192.168.2.230:53:53/udp
-e UPSTREAM_DNS=8.8.8.8
-e WINDOWSCACHE_IP=192.168.2.230
steamcache/steamcache-dns:latest

Log output:
Bootstrapping DNS from https://github.com/uklans/cache-domains
Creating apple template
Creating arenanet template
Creating blizzard template
Creating daybreak template
Creating frontier template
Creating gog template
Creating hirez template
Creating minecraft template
Creating nexusmods template
Creating nintendo template
Creating origin template
Creating riot template
Creating rockstar template
Creating sony template
Creating steam template
Creating uplay template
Creating twitch template
Creating wargaming template
Creating wsus template
Creating xboxlive template


Enabling WINDOWS on IP 192.168.2.230
creating /etc/bind/cache/windows.db
sed: /etc/bind/cache/windows.db: No such file or directory

Steam cache generic multiple dns?

hi,

I'm going to configure a steamcache next week and I'm getting ready studying all the dockers needed. I'm goinng to support multiple services (steam, origin and battlenet) so I'm going to setup the following cache services:

STEAM CACHE IP: 10.0.0.1

docker run \
  --restart unless-stopped \
  --name cache-steam \
  -v /cache/steam/data:/data/cache \
  -v /cache/steam/logs:/data/logs \
  -p 10.0.0.1:80:80 \
  steamcache/generic:latest

ORIGIN CACHE IP: 10.0.0.2

docker run \
  --restart unless-stopped \
  --name cache-steam \
  -v /cache/origin/data:/data/cache \
  -v /cache/origin/logs:/data/logs \
  -p 10.0.0.2:80:80 \
  steamcache/generic:latest

BATTLENET CACHE IP: 10.0.0.3

docker run \
  --restart unless-stopped \
  --name cache-steam \
  -v /cache/battlenet/data:/data/cache \
  -v /cache/battlenet/logs:/data/logs \
  -p 10.0.0.3:80:80 \
  steamcache/generic:latest

The first question is, Do I have to run a steamcache-dsn for each of these services right?

Then, the documentations says:

The image needs to know the IP of the steamcache server, provide this via the STEAMCACHE_IP variable. If you're also using the generic cache server, you should use USE_GENERIC_CACHE=true and set LANCACHE_IP variable.

My second question is:
What should be the LANCACHE_IP? This is the thing that I can't get my head around.

Given the above configuration and setting up a steamcache-dns for Origin for example, what should be the LANCACHE_IP?

docker run --name steamcache-dns -p 53:53/udp -e ORIGINCACHE_IP=10.0.0.2 -e USE_GENERIC_CACHE=true -e LANCACHE_IP=??? steamcache/steamcache-dns:latest

Thanks

Steamcache dns bootstrap doesn't fully check USE_GENERIC_CACHE

Issue Description:
Setting env var USE_GENERIC_CACHE=false without setting LANCACHE_IP causes steamcache-dns to fail

Docker Run Command:

docker run --name steamcache-dns -p 10.0.0.2:53:53/udp -e STEAMCACHE_IP=10.0.0.3 -e USE_GENERIC_CACHE=false -e UPSTREAM_DNS=8.8.8.8 steamcache/steamcache-dns:latest

Docker Container Output:

     _                                      _                       _
    | |                                    | |                     | |
 ___| |_ ___  __ _ _ __ ___   ___ __ _  ___| |__   ___   _ __   ___| |_
/ __| __/ _ \/ _` | '_ ` _ \ / __/ _` |/ __| '_ \ / _ \ | '_ \ / _ \ __|
\__ \ ||  __/ (_| | | | | | | (_| (_| | (__| | | |  __/_| | | |  __/ |_
|___/\__\___|\__,_|_| |_| |_|\___\__,_|\___|_| |_|\___(_)_| |_|\___|\__|


configuring /etc/resolv.conf to stop from looping to ourself

If you are using USE_GENERIC_CACHE then you must set LANCACHE_IP

EA

Issue Description:

Unable to connect to this site
Origina-a.akamaihd.net refused to connect.

It happens when you try to download origin on their website or will update origin

Bind not serving local addresses

I just set up a new Ubuntu VM and set up steamcache and steamcache-dns containers. Steamcache-dns will answer non-local queries (i.e. google.com), but it does not reply with an answer to queries for locally stored addresses (i.e. steamcontent.com).

I have tried spinning up a fresh VM and setting up from scratch, but the issue persists. Any insight would be appreciated.

DNS not resolving for anything

Issue Description:
I think that this issue is different than the others as the other posts seem to be related to not resolving certain domains, but mine won't resolve any to the local server - it just returns the real servers IP ... even cs.steampowered.com

My DNS settings are set (and checked) to only use 192.168.254.1 (the steamcache-dns)
I have run ipconfig /flushdns
I have tried with and without setting UPSTREAM_DNS

Any ideas? Thanks

Docker Container Output:

Setting up steam -> 192.168.254.2
...
10-Nov-2018 11:04:36.624 zone cs.steampowered.com/IN: loaded serial 2018111004

Restart on local Upstream DNS

Issue Description:
Stemcache-dns restarts when i use my local DNS as upstream.
When i use a external Server as upstream everything works.
My local DNS is a OPNsense Box with DNSmasq forwarding to 1.1.1.1, 8.8.8.8 and 9.9.9.9

Docker Run Command:

sudo docker run \
  --restart unless-stopped -d \
  --name steamcache-dns \
  --dns 192.168.0.1\
  -p 192.168.0.50:53:53/udp \
  -e UPSTREAM_DNS=192.168.0.1 \
  -e APPLECACHE_IP=192.168.0.100 \
  -e ARENANETCACHE_IP=192.168.0.101 \
  -e BLIZZARDCACHE_IP=192.168.0.102 \
  -e DAYBREAKCACHE_IP=192.168.0.103 \
  -e FRONTIERCACHE_IP=192.168.0.104 \
  -e HIREZCACHE_IP=192.168.0.105 \
  -e NEXUSMODSCACHE_IP=192.168.0.106 \
  -e NINTENDOCACHE_IP=192.168.0.107 \
  -e ORIGINCACHE_IP=192.168.0.108 \
  -e RENEGADEXCACHE_IP=192.168.0.109 \
  -e RIOTCACHE_IP=192.168.0.110 \
  -e ROCKSTARCACHE_IP=192.168.0.111 \
  -e SONYCACHE_IP=192.168.0.112 \
  -e STEAMCACHE_IP=192.168.0.113 \
  -e UPLAYCACHE_IP=192.168.0.114 \
  -e TWITCHCACHE_IP=192.168.0.115 \
  -e WARGAMINGCACHE_IP=192.168.0.116 \
  -e WSUSCACHE_IP=192.168.0.117 \
  -e XBOXLIVECACHE_IP=192.168.0.118 \
  steamcache/steamcache-dns:latest

Docker Container Output:

Bootstrapping DNS from https://github.com/uklans/cache-domains
     _                                      _                       _
    | |                                    | |                     | |
 ___| |_ ___  __ _ _ __ ___   ___ __ _  ___| |__   ___   _ __   ___| |_
/ __| __/ _ \/ _` | '_ ` _ \ / __/ _` |/ __| '_ \ / _ \ | '_ \ / _ \ __|
\__ \ ||  __/ (_| | | | | | | (_| (_| | (__| | | |  __/_| | | |  __/ |_
|___/\__\___|\__,_|_| |_| |_|\___\__,_|\___|_| |_|\___(_)_| |_|\___|\__|


configuring /etc/resolv.conf to stop from looping to ourself

Bootstrapping DNS from https://github.com/uklans/cache-domains
     _                                      _                       _
    | |                                    | |                     | |
 ___| |_ ___  __ _ _ __ ___   ___ __ _  ___| |__   ___   _ __   ___| |_
/ __| __/ _ \/ _` | '_ ` _ \ / __/ _` |/ __| '_ \ / _ \ | '_ \ / _ \ __|
\__ \ ||  __/ (_| | | | | | | (_| (_| | (__| | | |  __/_| | | |  __/ |_
|___/\__\___|\__,_|_| |_| |_|\___\__,_|\___|_| |_|\___(_)_| |_|\___|\__|


configuring /etc/resolv.conf to stop from looping to ourself

Bootstrapping DNS from https://github.com/uklans/cache-domains
     _                                      _                       _
    | |                                    | |                     | |
 ___| |_ ___  __ _ _ __ ___   ___ __ _  ___| |__   ___   _ __   ___| |_
/ __| __/ _ \/ _` | '_ ` _ \ / __/ _` |/ __| '_ \ / _ \ | '_ \ / _ \ __|
\__ \ ||  __/ (_| | | | | | | (_| (_| | (__| | | |  __/_| | | |  __/ |_
|___/\__\___|\__,_|_| |_| |_|\___\__,_|\___|_| |_|\___(_)_| |_|\___|\__|


configuring /etc/resolv.conf to stop from looping to ourself

Bootstrapping DNS from https://github.com/uklans/cache-domains

[COMCAST] Images and videos in steam not loading

Issue Description:
When in steam store or library it won't load the images and/or movies. I traced it back to being an issue with HTTPS and HTTP.

Recently (5 days ago before this post) an URL got added to uklans/cache-domains repo. Which is the URL "steamcdn-a.akamaihd.net". This URL is the resource URL for videos and images of steam. The URL gets fetched by the DNS server and forwarded to the steamcache docker container (which only listens and runs on port 80) which causes a Connection Refused error.

How to reproduce:
Start latest version of steamcache container and the steamcache-dns container.

Docker commands:
docker run -v /srv/data:/data --name steamcache -d --restart always -p 80:80 steamcache/steamcache

docker run -d --restart always --name steamcache-dns -p ${DNS_IP}:53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=${CACHE_IP} steamcache/steamcache-dns:latest

Edit
Current solution that I did was forking steamcache/steamcache-dns and uklans/cache-domains and removing that URL from steam.txt. Build the steamcache/steamcache-dns with docker and ran it the same way you run it usually. Now the images and videos are working again and the caching of game fragments is still working.

SONY_IP not caching

Issue Description:

I've successfully got steam to cache my downloads, however with the PS4 my downloads aren't being cached, I'm monitoring activity using nload

Docker Run Command:

sudo docker run \
  --restart unless-stopped -d \
  --name steam-cache \
  -v /home/oc/cache/steam/data:/data/cache \
  -v /home/oc/cache/steam/logs:/data/logs \
  -p 192.168.43.50:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name sony-cache \
  -v /home/oc/cache/sony/data:/data/cache \
  -v /home/oc/cache/sony/logs:/data/logs \
  -p 192.168.43.51:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name steamcache-dns \
  -p 192.168.43.50:53:53/udp \
  -e UPSTREAM_DNS=1.1.1.1 \
  -e STEAMCACHE_IP=192.168.43.50 \
  -e SONY_IP=192.168.43.51 \
  steamcache/steamcache-dns:latest

docker run \
 --restart unless-stopped -d \
  --name sniproxy \
  -p 443:443 \
  steamcache/sniproxy:latest

I've set the DNS record on the PS4 to 192.168.43.51.

With dnssec validation turned on all dns resolution fails if dns is firewalled

Issue Description:

Scenario

steamcache-dns running in a network which has firewalled port 53

Expected results

Setting UPSTREAM_DNS to a whitelisted dns server will result in correct dns forwarding and name resolution

Observed results

Due to dnssec-validation auto after receiving a forwarded result bind9 attempts to validate the dns record with the root servers. This requires access to the root zones which are not available due to the port 53 block. Setting dnssec-validation no fixes this behaviour

Suggested Fix

Either disable dnssec-validation permanently or provide an environment variable which allows it to be disabled on a case by case basis.

Docker Run Command:

docker run --rm -e UPSTREAM_DNS=10.20.10.153 -e STEAMCACHE_IP=10.20.10.81 --name steamcache-dns -p 10.20.10.11:53:53/udp steamcache-dns

edge.steam-dns.top.comcast.net is used instead of my generic cache

All of my downloads appear to be using edge.steam-dns.top.comcast.net no matter if I use the DNS container. Services like Origin and Blizzard work great but strangely I cannot get steam to work or find a way to disable these Comcast mirrors. My device is directly using the DNS from the docker container and I flushed my DNS cache just to be certain it wasn't just something that happened before I began caching my downloads. Any suggestions on how I could fix this? Thanks!

several steamcache-dns containers

hello, is it possible to run several steamcache-dns instances , each instance on a different network card but all using the same cache depot ? (steamcache/generic)

sudo docker run --name cache-steam --restart=always -d -v /cache/steam/data:/data/cache -v /cache/steam/logs:/data/logs -p 192.168.88.68:80:80 steamcache/generic:latest

then :

sudo docker run --name steamcache-dns --restart=always -p 192.168.88.68:53:53/udp -e CACHE_MAX_AGE=95d -e UPSTREAM_DNS=1.1.1.1 -e STEAMCACHE_IP=192.168.88.68 steamcache/steamcache-dns:latest

sudo docker run --name steamcache-dns --restart=always -p 192.168.88.69:53:53/udp -e CACHE_MAX_AGE=95d -e UPSTREAM_DNS=1.1.1.1 -e STEAMCACHE_IP=192.168.88.68 steamcache/steamcache-dns:latest

its like using 2 different network cards to deliver steam cached content via 1 steam cache depot
i dont want to bond 2 network cards i wana keep them seperated

How to access bootstrap.sh

how to access steamcache-dns/overlay/scripts/bootstrap.sh in docker so that i can add my own cache domains. thank you.

Not resolving all Zones

I installed docker for ubuntu as the docs say.
I run the steamchace-dns and steamcache container.

nslookup of content1.steampowered.com runs to my server.
nslookup of content6.steampowered.com results:

C:\Users\Fischje>nslookup content6.steampowered.com
Server: UnKnown
Address: 192.168.178.178

Nicht autorisierende Antwort:
Name: edge.steam-dns.top.comcast.net
Addresses: 2001:558:fe03:6d::2
2001:558:fe03:31::2
2001:558:fe03:5::2
2001:558:fe03:57::2
69.241.35.98
69.241.8.130
69.241.35.134
69.252.112.206
Aliases: content6.steampowered.com

Can someone help me?

Problem Having the DNS to work.

NB: Please check the update below
Issue Description:
I am running ubuntu 14.04 on VMWARE.
was able to setup steamcache and steamcache-dns
however, when i point my pc to the steamcache-dns IP, nothing is being resolved.

Docker Run Command:

sudo docker run --name steamcache -d -v /srv/steamcache/data:/data/cache -p 80:80 steamcache/steamcache:latest --restart=always


sudo docker run --name steamcache-dns -d --restart=always -p 192.168.43.43:53:53/udp -e STEAMCACHE_IP=192.168.43.43 steamcache/steamcache-dns

Docker Container Output:
without running in background, steamcache is stuck on nginx test successful, and steamcache-dns stuck on bind9 which i suppose is the correct behavior based on what i read in the previous closed issues.

what am i doing wrong ?
can't seem to figure this out. any help is appreciated.

image


**** UPDATE ****


I noticed that BIND's config in your file did not have forwarding address.
so I changed my settings by adding google's public DNS as a secondary DNS.
Now domains are being resolved.

Steam store doesn't work

Issue Description:

My server is working with the caching and i have downloaded some games to it. But as soon as you try access the Steam Store from the client pc (Both in Steam Client and Chrome browser) it tries to cache it but fails, but the dns doesn't forward the request to the Google Upstream DNS i have set. I dont want it to cache the store either, only the games. But as soon as it fails and stop loading it reloads to a random game store page (In my case Rimworld as the banner ad this week). It works accessing the store on the server pc.
I cant see the Docker log for the Dns because i dont know how to bring it up without restarting it. The server is in a company network which uses a resolv on port 53. But i managed to bypass that with Docker through stopping the systemd-resolved service, edit the resolv.conf and replace the company's nameservers with Google DNS, keeping the search domain and Docker works on port 53.

[Request] Documentation on adding zones manually

I already have an operational DNS server, could you please include a list of domain names to forward to the steam cache server (either in the documentation here or on the other projects?) I am sure I can eventually parse it out from the docker files, but it would be much more convenient to just have a list of domains to forward in a readme.

Thanks!

Steamcache-dns not correctly interpreting UKLans cache-domains file

Issue Description:
The uklans cachedomains format specifies that a domain can be included as either a specific match (eg blzddist1-a.akamaihd.net) or a wildcard match (*.blzddist1-a.akamaihd.net). Steamcache dns is interpreting both these lines as identical. In theory if only blzddist1-a.akamaihd.net is specified in the cache domains file then a dns lookup of test.blzddist1-a.akamaihd.net should return the original ip/not found.

Reproduction Steps:

  • nslookup blzddist1-a.akamaihd.net should return lancache-ip
  • nslookup thing.blzddist1-a.akamaihd.net should NOT return lancache-ip but it does

Docker Run Command:
n/a
Docker Container Output:
n/a

Fails to work as a DNS server for the current host

Issue Description:

Having installed the DNS resolver on a server, other clients on the network using this server and the docker container as their DNS resolver work correctly to resolve DNS.

However trying a command e.g. host google.com 192.168.1.253 or host cs.steampowered.com 192.168.1.253 to direct a DNS resolution at the docker container from the server itself fails. I.e. if the server itself wants to access Steam, it will go via the internet not the cache, however if any separate machines using the DNS want to access the cache it will work.

I appreciate maybe there's some more network config required here, but this would be very useful to have documented, as otherwise one can run the container, test it using host (a really clear way to test DNS on a server) and it seems to fail.

Docker Run Command:

version: '2'

services:

  gamecache-dns:
    image: steamcache/steamcache-dns:latest
    container_name: gamecache-dns
    ports:
      - "53"
    environment:
      - USE_GENERIC_CACHE=false
      # - LANCACHE_IP=genericcache
      - STEAMCACHE_IP=192.168.1.240
      - ORIGINCACHE_IP=192.168.1.241
      - BLIZZARDCACHE_IP=192.168.1.242
      - UPLAYCACHE_IP=192.168.1.243
      # - FRONTIERCACHE_IP=frontiercache
      # - RIOTCACHE_IP=riotcache
      - WINDOWSCACHE_IP=192.168.1.246
      - DISABLE_STEAM=false
      - DISABLE_ORIGIN=false
      - DISABLE_BLIZZARD=false
      - DISABLE_UPLAY=false
      - DISABLE_FRONTIER=true
      - DISABLE_RIOT=true
      - DISABLE_WINDOWS=false
      - UPSTREAM_DNS=8.8.8.8
    networks:
      gamecache_vlan:
        ipv4_address: 192.168.1.253
    restart: unless-stopped
    volumes:
      - /srv/quickload/docker-volumes/gamecache/dns:/data
      - /srv/quickload/docker-volumes/gamecache/dns:/tmp
      - /srv/quickload/docker-volumes/gamecache/dns:/var/logs

Merge dnsmasq down to master

Pull request #16 gave us a version of this image which uses dnsmasq and incorporates a lot of improvements.

However there is a change of behaviour here in that the image loses the ability to do recursive lookups, instead preferring the use of an upstream DNS server.

Simply merging to master will break setups which update their docker image without knowing about this change.

So ... need a plan.

Upstream DNS

Issue Description:
Upstream DNS not working

Docker Run Command:
docker run --name steamcache-dns -p 53:53/udp -e STEAMCACHE_IP=192.168.1.21 -e UPSTREAM_DNS=192.168.1.1 steamcache/steamcache-dns:latest

The upstream DNS is not working when using my host (in this case 192.168.1.21) i see the update came only 9 hours ago. and i haven't had the time to dig around with how sed commands work

Problems with Uplay caching function and how to disable it

Issue Description:
Uplay is not being cached, the Uplay client does not display links and pages correctly and it is not possible to install games from the Uplay client.

Docker Run Command:

sudo docker run --name steamcache --restart=always -d -v /srv/steamcache/data:/data/cache -v /srv/steamcache/logs:/data/logs -v /srv/steamcache/info:/data/info -p 192.168.2.11:80:80 steamcache/steamcache:latest

sudo docker run --name lancache --restart=always -d -v /srv/lancache/data:/data/cache -v /srv/lancache/logs:/data/logs -v /srv/lancache/info:/data/info -p 192.168.2.12:80:80 steamcache/generic:latest

sudo docker run --name sniproxy --restart=always -d -p 443:443 steamcache/sniproxy:latest

sudo docker run --name steamcache-dns --restart=always -d -p 192.168.2.10:53:53/udp -e STEAMCACHE_IP=192.168.2.11 -e USE_GENERIC_CACHE=true -e LANCACHE_IP=192.168.2.12 -e UPLAYCACHE_IP=192.168.2.12 -e ORIGINCACHE_IP=192.168.2.12 steamcache/steamcache-dns:latest

Docker Container Output:

No docker output available

Both Steam and Origin are working flawless (after adding sniproxy).
When I use the docker config written above I am able to start the Uplay client but when I click on any game advertisement or any link it will give a 404 error message (will provide the exact error message tonight).

When I use

sudo docker run --name steamcache-dns --restart=always -d -p 192.168.2.10:53:53/udp -e STEAMCACHE_IP=192.168.2.11 -e USE_GENERIC_CACHE=true -e LANCACHE_IP=192.168.2.12 -e ORIGINCACHE_IP=192.168.2.12 steamcache/steamcache-dns:latest -e DISABLE_UPLAY

to disable the Uplay cache I am still experiencing problems when I click on links in Uplay and try to install a Uplay game.

When I connect my game pc to the internet without using the docker machine as DNS server the Uplay client works perfectly.

I am using an Ubuntu 16.04 machine with Docker installed but I am not an experienced Ubuntu or Docker user (but willing to learn!).

unable to assign static IP with docker-compose

Issue Description:
I'm trying to get these images working using docker-compose instead of individual docker commands, but I can't seem to get them working with static IPs. When I run docker inspect DNS_CONTAINER_ID | grep "IPAddress" I get:

"SecondaryIPAddresses": null,
"IPAddress": "",
        "IPAddress": "192.168.1.253",

but I can't ping or curl that IP.

Docker Run Command:

version: '3.4'

services:

  gamecache-dns:
    image: steamcache/steamcache-dns:latest
    container_name: gamecache-dns
    ports:
      - "53:53/udp"
    environment:
      - USE_GENERIC_CACHE=false
      # - LANCACHE_IP=genericcache
      - STEAMCACHE_IP=steamcache
      # - ORIGINCACHE_IP=origincache
      # - BLIZZARDCACHE_IP=blizzardcache
      # - UPLAYCACHE_IP=uplaycache
      # - FRONTIERCACHE_IP=frontiercache
      # - RIOTCACHE_IP=riotcache
      # - WINDOWSCACHE_IP=windowscache
      - DISABLE_STEAM=false
      - DISABLE_ORIGIN=true
      - DISABLE_BLIZZARD=true
      - DISABLE_UPLAY=true
      - DISABLE_FRONTIER=true
      - DISABLE_RIOT=true
      - DISABLE_WINDOWS=true
      - UPSTREAM_DNS=8.8.8.8
    networks:
      gamecache_vlan:
        ipv4_address: 192.168.1.253
    restart: unless-stopped
    volumes:
      - gamecache-dns-volume:/data
      - gamecache-dns-volume:/tmp
      - gamecache-dns-volume:/var/logs

  steamcache:
    image: steamcache/steamcache:latest
    container_name: steamcache
    ports:
      - "80"
    environment:
      - CACHE_MEM_SIZE=1024m
      - CACHE_DISK_SIZE=1024g
    networks:
      - gamecache_vlan
    restart: unless-stopped
    volumes:
      - steamcache-volume:/data
      - steamcache-volume:/tmp

networks:
  gamecache_vlan:
    driver: macvlan
#    driver_opts:
#      parent: enp1s0f0.30
    ipam:
      config:
        - subnet: 192.168.1.0/24

volumes:
  gamecache-dns-volume:
    driver_opts:
      type: none 
      device: /srv/docker/gamecache/dns
      o: bind
  steamcache-volume:
    driver_opts:
      type: none 
      device: /srv/docker/gamecache/steam
      o: bind

Windows Store HTTP Error 508 "Loop Detected"

Issue Description:
When trying to download from the windows store I get HTTP Error 508, the downloads all seem to use tlu.dl.delivery.mp.microsoft.com, I found DISABLE_WSUS=true Here and that seems to have fixed the problem, of course it's no longer going through the cache.
To test this I used https://store.rg-adguard.net and input https://www.microsoft.com/store/productId/9P2N57MC619K (Sea of Thieves, what I was trying to download) And it allows me to use a download manager to actually see what was happening.

The requests in the access log for the cache look pretty normal, but I shall post them too.

-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=142236-"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:01:51 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.0" 508 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=1048576-2097151"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:01:51 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.1" 206 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=284428-"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:01:52 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.0" 508 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=1048576-2097151"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:01:52 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.1" 206 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=426620-"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:01:53 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.0" 508 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=1048576-2097151"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:01:53 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.1" 206 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=568812-"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:01:54 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.0" 508 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=1048576-2097151"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:01:54 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.1" 206 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=711004-"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:03:08 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:03:08 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658803711"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:03:08 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658803711"
[wsus] 192.168.1.153 / - - - [10/Jan/2019:17:03:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.153 - - [10/Jan/2019:17:03:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=9437184-10485759"
[wsus] 192.168.1.153 / - - - [10/Jan/2019:17:03:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=9437184-10485759"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:04:43 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:04:43 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658803711"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:04:43 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658279423"
ess.logHome-Server:~# docker exec -it steamcache-monolithic tail -f /data/logs/acce
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:01:54 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547175661&P2=402&P3=2&P4=nH%2bBEFKCgwj7bO1JyjLumscrTM6eimn1y5O988HWqOxWF7kGcic1ZpQ1Mv7Ex05me%2bXZZ82mmTRscYEAwajBCQ%3d%3d HTTP/1.1" 206 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=711004-"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:03:08 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:03:08 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658803711"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:03:08 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658803711"
[wsus] 192.168.1.153 / - - - [10/Jan/2019:17:03:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.153 - - [10/Jan/2019:17:03:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=9437184-10485759"
[wsus] 192.168.1.153 / - - - [10/Jan/2019:17:03:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=9437184-10485759"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:04:43 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.230 - - [10/Jan/2019:17:04:43 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658803711"
[wsus] 192.168.1.230 / - - - [10/Jan/2019:17:04:43 +0000] "GET /filestreamingservice/files/d602328d-a3ca-49bb-bc49-e3ce5e26ff1c?P1=1547174350&P2=402&P3=2&P4=ZU9%2ftOGLY6LvrPITmUYJzKDQdktalGx1D8ZH%2b75bnQqRxEKwvzMNcpF27xgX0hmfo8XFJzNiQEulHwSralzhEw%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=50657755136-50658279423"
[wsus] 192.168.1.153 / - - - [10/Jan/2019:17:07:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.1" 206 2 "-" "Microsoft-Delivery-Optimization/10.0" "HIT" "tlu.dl.delivery.mp.microsoft.com" "bytes=0-1"
[wsus] 192.168.1.200 / 192.168.1.153 - - [10/Jan/2019:17:07:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.0" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "-" "tlu.dl.delivery.mp.microsoft.com" "bytes=13631488-14680063"
[wsus] 192.168.1.153 / - - - [10/Jan/2019:17:07:32 +0000] "GET /filestreamingservice/files/2f1a7435-ec48-4398-b0c7-f00797412777?P1=1547140411&P2=402&P3=2&P4=Maf%2fCaUxhaHZWtO3sbXuB5II6yI9NLPFx8ci8e1HCbcot12TaswIhJxtnuCV%2flP9Mapus3voOJxojBSos1Cq9A%3d%3d HTTP/1.1" 508 0 "-" "Microsoft-Delivery-Optimization/10.0" "MISS" "tlu.dl.delivery.mp.microsoft.com" "bytes=13631488-13762559"

That's only some of it because their was a lot, but it looks fairly normal to me, but the download would just be stuck at the start in the Windows Store, and the Download from the direct url using a download manager gave HTTP Error 508.

[COMCAST] Comcast Steam domains causing cache misses

The following domains need to be black-holed by steamcache-dns in order to prevent cache misses for Comcast subscribers:

edge.steam-dns.top.comcast.net
edge.steam-dns-2.top.comcast.net

If the Steam client is able to resolve the above addresses, it will automatically use them to retrieve content. This is a problem, because these Comcast-specific content servers require HTTPS, which isn't cached. If these addresses are black-holed, the Steam client automatically reverts to normal behavior.

Steam cache fails on multi-download

Issue Description:
Steamcache-dns appears to fail to redirect download sources, (Steam reports no download source available)

After having a fresh cache, Downloading one other game and then downloading frostpunk to prime the system, deleting frost punk and then re-downloading it, all appears normal, after re-downloading from the cache for a second time the steam client stalls and claims no download source available.

Docker Run Command:

sudo docker run --name steamcache-dns --restart=always -d -p 192.168.0.10:53:53/udp -e STEAMCACHE_IP="192.168.0.10 192.168.0.11 192.168.0.12 192.168.0.13 192.168.0.14 192.168.0.15 192.168.0.16 192.168.0.17 192.168.0.18 192.168.0.19" steamcache/steamcache-dns:latest

sudo docker run --name steamcache --restart=always -d -v /srv/steamcache/data:/data/cache -p 80:80 steamcache/monolithic:latest

Logs:
Steamcache-dns: https://pastebin.com/XwC8WZD9
Monolithic Log: https://pastebin.com/nbq4qygE
Steam Client content Log: https://pastebin.com/5pTqNrNC

steamcache-dns constantly restarting

Issue Description:
See title

Docker Run Command:
These are the commands I used. Ignore the top IP's, they are just a memo.

steam = 192.168.1.200
origin = 192.168.1.201
blizzard = 192.168.1.202
riot = 192.168.1.203
frontier = 192.168.1.204
windows = 192.168.1.205
sony = 192.168.1.206
rockstar = 192.168.1.207
nintendo = 192.168.1.208
twitchapp = 192.168.1.209
apple = 192.168.1.210
xbox = 192.168.1.211



sudo docker run \
  --restart unless-stopped -d \
  --name steam-cache \
  -v /home/steamcache/cache/steam/data:/data/cache \
  -v /home/steamcache/cache/steam/logs:/data/logs \
  -p 192.168.1.200:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name origin-cache \
  -v /home/steamcache/cache/origin/data:/data/cache \
  -v /home/steamcache/cache/origin/logs:/data/logs \
  -p 192.168.1.201:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name blizzard-cache \
  -v /home/steamcache/cache/blizzard/data:/data/cache \
  -v /home/steamcache/cache/blizzard/logs:/data/logs \
  -p 192.168.1.202:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name riot-cache \
  -v /home/steamcache/cache/riot/data:/data/cache \
  -v /home/steamcache/cache/riot/logs:/data/logs \
  -p 192.168.1.203:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name frontier-cache \
  -v /home/steamcache/cache/frontier/data:/data/cache \
  -v /home/steamcache/cache/frontier/logs:/data/logs \
  -p 192.168.1.204:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name windows-cache \
  -v /home/steamcache/cache/windows/data:/data/cache \
  -v /home/steamcache/cache/windows/logs:/data/logs \
  -p 192.168.1.205:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name sony-cache \
  -v /home/steamcache/cache/sony/data:/data/cache \
  -v /home/steamcache/cache/sony/logs:/data/logs \
  -p 192.168.1.206:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name rockstar-cache \
  -v /home/steamcache/cache/rockstar/data:/data/cache \
  -v /home/steamcache/cache/rockstar/logs:/data/logs \
  -p 192.168.1.207:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name nintendo-cache \
  -v /home/steamcache/cache/nintendo/data:/data/cache \
  -v /home/steamcache/cache/nintendo/logs:/data/logs \
  -p 192.168.1.208:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name twitchapp-cache \
  -v /home/steamcache/cache/twitchapp/data:/data/cache \
  -v /home/steamcache/cache/twitchapp/logs:/data/logs \
  -p 192.168.1.209:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name apple-cache \
  -v /home/steamcache/cache/apple/data:/data/cache \
  -v /home/steamcache/cache/apple/logs:/data/logs \
  -p 192.168.1.210:80:80 \
  steamcache/generic:latest

sudo docker run \
  --restart unless-stopped -d \
  --name xboxlive-cache \
  -v /home/steamcache/cache/xboxlive/data:/data/cache \
  -v /home/steamcache/cache/xboxlive/logs:/data/logs \
  -p 192.168.1.211:80:80 \
  steamcache/generic:latest

docker run \
 --restart unless-stopped -d \
  --name sniproxy \
  -p 443:443 \
  steamcache/sniproxy:latest

sudo docker run \
  --restart unless-stopped -d \
  --name steamcache-dns \
  -p 192.168.1.200:53:53/udp \
  -e UPSTREAM_DNS=1.1.1.1 \
  -e STEAMCACHE_IP=192.168.1.200 \
  -e ORIGINCACHE_IP=192.168.1.201 \
  -e BLIZZARDCACHE_IP=192.168.1.202 \
  -e RIOTCACHE_IP=192.168.1.203 \
  -e FRONTIERCACHE_IP=192.168.1.204 \
  -e WINDOWSUPDATESCACHE_IP=192.168.1.205 \
  -e SONYCACHE_IP=192.168.1.206 \
  -e ROCKSTARCACHE_IP=192.168.1.207 \
  -e NINTENDOCACHE_IP=192.168.1.208 \
  -e TWITCHAPPCACHE_IP=192.168.1.209 \
  -e APPLECACHE_IP=192.168.1.210 \
  -e XBOXLIVECACHE_IP=192.168.1.211 \
  steamcache/steamcache-dns:latest

Docker Container Output:


2019-02-17T21:24:43.424487506Z      _                                      _                       _   


2019-02-17T21:24:43.424515737Z     | |                                    | |                     | |  


2019-02-17T21:24:43.424518982Z  ___| |_ ___  __ _ _ __ ___   ___ __ _  ___| |__   ___   _ __   ___| |_ 


2019-02-17T21:24:43.424526303Z / __| __/ _ \/ _` | '_ ` _ \ / __/ _` |/ __| '_ \ / _ \ | '_ \ / _ \ __|


2019-02-17T21:24:43.424567481Z \__ \ ||  __/ (_| | | | | | | (_| (_| | (__| | | |  __/_| | | |  __/ |_ 


2019-02-17T21:24:43.424573554Z |___/\__\___|\__,_|_| |_| |_|\___\__,_|\___|_| |_|\___(_)_| |_|\___|\__|


2019-02-17T21:24:43.424576536Z 


2019-02-17T21:24:43.424578779Z 


2019-02-17T21:24:43.424614777Z configuring /etc/resolv.conf to stop from looping to ourself


2019-02-17T21:24:43.424762610Z 


2019-02-17T21:24:43.424902006Z Bootstrapping DNS from https://github.com/uklans/cache-domains


2019-02-17T21:24:44.441517473Z Creating apple template


2019-02-17T21:24:44.957464021Z Creating arenanet template


2019-02-17T21:24:45.548434522Z Creating blizzard template


2019-02-17T21:24:46.818837413Z Creating daybreak template


2019-02-17T21:24:47.661222868Z Creating frontier template


2019-02-17T21:24:48.357305480Z Creating hirez template


2019-02-17T21:24:48.868158512Z Creating minecraft template


2019-02-17T21:24:49.472603439Z Creating nexusmods template


2019-02-17T21:24:50.079411987Z Creating nintendo template


2019-02-17T21:24:50.527988547Z Creating origin template


2019-02-17T21:24:50.940433441Z Creating renegadex template


2019-02-17T21:24:51.528335101Z Creating riot template


2019-02-17T21:24:52.224272177Z Creating rockstar template


2019-02-17T21:24:52.701754032Z Creating sony template


2019-02-17T21:24:53.496792422Z Creating steam template


2019-02-17T21:24:54.937914778Z Creating uplay template


2019-02-17T21:24:55.591498548Z Creating twitch template


2019-02-17T21:24:56.570024617Z Creating wargaming template


2019-02-17T21:24:57.261444179Z Creating wsus template


2019-02-17T21:24:58.677653891Z Creating xboxlive template


2019-02-17T21:24:59.483744980Z 


2019-02-17T21:24:59.483758574Z  --- 


2019-02-17T21:24:59.483779195Z 


2019-02-17T21:24:59.486937124Z Enabling XBOXLIVE on IP 192.168.1.211


2019-02-17T21:24:59.487746977Z creating /etc/bind/cache/xboxlive.db


2019-02-17T21:24:59.491417980Z Enabling NINTENDO on IP 192.168.1.208


2019-02-17T21:24:59.492233394Z creating /etc/bind/cache/nintendo.db


2019-02-17T21:24:59.495876553Z Enabling FRONTIER on IP 192.168.1.204


2019-02-17T21:24:59.496639076Z creating /etc/bind/cache/frontier.db


2019-02-17T21:24:59.500338082Z Enabling RIOT on IP 192.168.1.203


2019-02-17T21:24:59.501112986Z creating /etc/bind/cache/riot.db


2019-02-17T21:24:59.504494044Z Enabling ORIGIN on IP 192.168.1.201


2019-02-17T21:24:59.505281460Z creating /etc/bind/cache/origin.db


2019-02-17T21:24:59.508956576Z Enabling SONY on IP 192.168.1.206


2019-02-17T21:24:59.509784674Z creating /etc/bind/cache/sony.db


2019-02-17T21:24:59.513302171Z Enabling ROCKSTAR on IP 192.168.1.207


2019-02-17T21:24:59.514089299Z creating /etc/bind/cache/rockstar.db


2019-02-17T21:24:59.518025784Z Enabling TWITCHAPP on IP 192.168.1.209


2019-02-17T21:24:59.518826341Z creating /etc/bind/cache/twitchapp.db


2019-02-17T21:24:59.519159179Z sed: /etc/bind/cache/twitchapp.db: No such file or directory

There isn't even a "bind" directory anyway, even though it says its creating it

Cant map port 53

Issue Description:
Cant map port 53

Docker Run Command:
docker run --name steamcache-dns -p 53:53/udp -e STEAMCACHE_IP=$STEAMCACHE_IP steamcache/steamcache-dns

docker run --name steamcache-dns -p 53:53/udp -e STEAMCACHE_IP=$STEAMCACHE_IP steamcache/steamcache-dns

Docker Container Output:
docker: Error response from daemon: driver failed programming external connectivity on endpoint steamcache-dns (4d2f5a9245e16928e952f4a7344fe7de08f70c7172c7cb6440dbc321213fd5b4): Error starting userland proxy: listen udp 0.0.0.0:53: bind: address already in use.
ERRO[0001] error waiting for container: context canceled

Dockerfile

Hello everybody

I do not understand what exactly needs to be done with the dockerfile. Can someone tell me that?

Thank you

Gruess Yogi85

steamcache-dns container not starting

Issue Description:
The container consistently tries to restart, but does not succeed.
The main server IP is 192.168.2.10.

The other docker files from steamcache are all up and running, but steamcache-dns keeps crashing.

Docker Run Command:

sudo docker run
--restart unless-stopped -d
--name steamcache-dns
-p 192.168.2.10:53:53/udp
-e UPSTREAM_DNS=192.168.2.222
-e STEAMCACHE_IP=192.168.2.11
-e ORIGINCACHE_IP=192.168.2.12
-e BLIZZARDCACHE_IP=192.168.2.13
-e RIOTCACHE_IP=192.168.2.14
-e WINDOWSCACHE_IP=192.168.2.15
-e DISABLE_UPLAY=true
-e DISABLE_FRONTIER=true
steamcache/steamcache-dns:latest

Docker Container Output:
STATUS = Restarting (2) 35 seconds ago

Side Note: How do I add my own Domains/records to the Uklans-DNS? My steam connects to a IP that is not in the Uklans records.

Download speed is not stable when pointing to local cache

Issue Description:
After installing steamcache-dns docker , we pointed update server to the local cache server
then it started downloading for the first time and cache server started to cache data
then we faced download speeds spikes download to 0 kb
image

if i try to change my pc dns to public dns the download is stable and without spikes

Docker Run Command:

sudo docker run --name steamcache-dns --restart=always -d -p 53:53/udp -e STEAMCACHE_IP=192.10.11.246 steamcache/steamcache-dns:latest

Docker Container Output:

<!-- If there is output from the container regarding this issue, paste it here -->

No internet access on the server running docker containers

Issue Description:
I have a ubuntu server and i want to access it from outside my lan and i can't use ssh because i can't configure port forwarding so i want to use teamviewer but there is no internet access on the server but pinging 8.8.8.8 works flawlessly

Docker Run Command:

sudo docker run --restart unless-stopped -d --name steam-cache -p 192.168.1.4:80:80 steamcache/generic:latest

sudo docker run --restart unless-stopped -d --name steamcache-dns -p 192.168.1.4:53:53/udp -e STEAMCACHE_IP=192.168.1.4 steamcache/steamcache-dns:latest

I'm not sure if steamcache/steamcache-dns or steamcache/generic is causing this.

Can't running in Raspberry Pi

Issue Description:

Linux ubuntu 4.14.58 (Including raspbian and debian) for raspberry pi3b+, can't run the docker

Docker Run Command:

<!-- sudo docker run --name steamcache --restart=always -d -v /disk/steam/data:/data/cache -p 80:80 steamcache/steamcache:latest -->

<!-- sudo docker run --name steamcache-dns --restart=always -d -p 53:53/udp -e STEAMCACHE_IP=192.168.0.106 steamcache/steamcache-dns:latest -->

Docker Container Output:

<!--standard_init_linux.go:190: exec user process caused "exec format error" -->

Container wont start with Windows Cache

Issue Description:
The container is not booting properly due to a missing file (supposedly). When I remove the Windows Cache from my run script, everything works fine. My host machine is running Ubuntu 16.04.5 LTS.

Docker Run Command:

sudo docker run \
  --restart unless-stopped -d \
  --name steamcache-dns \
  -p 172.16.1.13:53:53/udp \
  -e UPSTREAM_DNS=8.8.8.8 \
  -e STEAMCACHE_IP=172.16.1.13 \
  -e ORIGINCACHE_IP=172.16.1.14 \
  -e BLIZZARDCACHE_IP=172.16.1.15 \
  -e RIOTCACHE_IP=172.16.1.16 \
  -e FRONTIERCACHE_IP=172.16.1.17 \
  -e WINDOWSCACHE_IP=172.16.1.18 \
  steamcache/steamcache-dns:latest  

Docker Container Output:

    | |                                    | |                     | |
 ___| |_ ___  __ _ _ __ ___   ___ __ _  ___| |__   ___   _ __   ___| |_
/ __| __/ _ \/ _` | '_ ` _ \ / __/ _` |/ __| '_ \ / _ \ | '_ \ / _ \ __|
\__ \ ||  __/ (_| | | | | | | (_| (_| | (__| | | |  __/_| | | |  __/ |_
|___/\__\___|\__,_|_| |_| |_|\___\__,_|\___|_| |_|\___(_)_| |_|\___|\__|


configuring /etc/resolv.conf to stop from looping to ourself

Bootstrapping DNS from https://github.com/uklans/cache-domains
Creating apple template
Creating arenanet template
Creating blizzard template
Creating daybreak template
Creating frontier template
Creating gog template
Creating hirez template
Creating minecraft template
Creating nexusmods template
Creating nintendo template
Creating origin template
Creating riot template
Creating rockstar template
Creating sony template
Creating steam template
Creating uplay template
Creating twitch template
Creating wargaming template
Creating wsus template
Creating xboxlive template

 ---

Enabling FRONTIER on IP 172.16.1.17
creating /etc/bind/cache/frontier.db
Enabling RIOT on IP 172.16.1.16
creating /etc/bind/cache/riot.db
Enabling ORIGIN on IP 172.16.1.14
creating /etc/bind/cache/origin.db
Enabling WINDOWS on IP 172.16.1.18
creating /etc/bind/cache/windows.db
sed: /etc/bind/cache/windows.db: No such file or directory

Alias WINDOWS to WSUS

A Number of people are using WINDOWS instead of WSUS - this is possibly because of how it was originally, We should create an Alias so that this doesn't stop the container from working.

Stops responding after a while.

the dns server stops working after some time, the server is still accessible on the network.
need to restart server in order to fix. caching works fine after restarting.

ip of the steamcache-dns is the same as the servers ip.

config used:

docker run --restart always --name dns-server -p 192.168.88.210:53:53/udp -e STEAMCACHE_IP=192.168.88.211 -e RIOTCACHE_IP=192.168.88.212 -e BLIZZARDCACHE_IP=192.168.88.213 -e DISABLE_FRONTIER=true -e DISABLE_ORIGIN=true -e DISABLE_UPLAY=true -e DISABLE_WINDOWS=true -e UPSTREAM_DNS=8.8.8.8 steamcache/steamcache-dns:latest

Steam traffic is not being sent to the cache

Issue Description:
I'm trying to get the steamcache image running, but I am currently unable to get the traffic there, and when looking at the logs from the steamcache-dns container, I don't see any LAN IPs in steam related queries.

Docker Run Command Docker Compose file:
docker-compose.yml
Docker Container Output:

dns_1             | 28-Aug-2018 18:07:58.793 client @0x55c0674f40 192.168.1.1#24921 (steamcdn-a.akamaihd.net): query: steamcdn-a.akamaihd.net IN A + (172.18.0.5)
dns_1             | 28-Aug-2018 18:07:58.852 client @0x55c0674f40 192.168.1.1#53993 (valve1207.steamcontent.com): query: valve1207.steamcontent.com IN A + (172.18.0.5)
dns_1             | 28-Aug-2018 18:07:59.317 client @0x55c0674f40 192.168.1.1#32952 (valve1211.steamcontent.com): query: valve1211.steamcontent.com IN A + (172.18.0.5)
dns_1             | 28-Aug-2018 18:07:59.348 client @0x55c0674f40 192.168.1.1#36479 (valve1205.steamcontent.com): query: valve1205.steamcontent.com IN A + (172.18.0.5)
dns_1             | 28-Aug-2018 18:07:59.365 client @0x55c0674f40 192.168.1.1#21008 (valve1213.steamcontent.com): query: valve1213.steamcontent.com IN A + (172.18.0.5)

Steamcache not working with IPv6 on

Issue Description:
I installed steamcache-dns and steamcache/generic and everthing works fine, but only if i turn ipv6 off.
If i have ipv6 on it always walks that way and ignores my ipv4 dns and steam cache...

Is ipv6 support still missing or am i just too stupid to get it working right?

Docker Run Command:

sudo docker run --name steamcache-dns -p 192.168.178.150:53:53/udp -e STEAMCACHE_IP=192.168.178.150 -e BLIZZARDCACHE_IP=192.168.178.151 -e UPSTREAM_DNS=8.8.8.8  steamcache/steamcache-dns:latest

Xbox Live all pictures replaced by one image

Issue Description:
Xbox Live all pictures replaced by one image

Docker Run Command:

docker run --name steamcache-dns -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=192.168.1.245 steamcache/steamcache-dns:latest

Possibly images-eds.xboxlive.com might be causing this
applicationframehost_2019-01-09_00-31-20

Windows computer does not resolve anything

Issue Description:
My computer does not resolve anything while switching to the DNS hosted in the container
Docker Run Command:

I am using docker-compose with this configuration :

version: '2'
services:
  steamcache:
    restart: always
    image: steamcache/steamcache
    ports:
      - "80:80"
    volumes:
      - /opt/data/docker-data/steamcache/data/logs-steam:/data/logs:Z
      - /opt/data/docker-data/steamcache/data/cache-steam:/data/cache:Z
      - /opt/data/docker-data/steamcache/data/www-steam:/var/www:Z

  genericcache:
    restart: always
    image: steamcache/generic
    ports:
      - "81:80"
    volumes:
      - /opt/data/docker-data/steamcache/data/logs-generic:/data/logs:Z
      - /opt/data/docker-data/steamcache/data/cache-generic:/data/cache:Z
      - /opt/data/docker-data/steamcache/data/www-generic:/var/www:Z

  steamcachedns:
    restart: always
    image: steamcache/steamcache-dns
    ports:
      - "53:53/udp"
    volumes:
      - /opt/data/docker-data/gitlab/data/postgresql/data:/var/lib/postgresql:Z
      - /opt/data/docker-data/gitlab/data/postgresql/log:/var/log/postgresql:Z
      - /opt/data/docker-data/gitlab/data/postgresql/run:/run/postgresql:Z
    environment:
      - STEAMCACHE_IP=192.168.43.2
      - USE_GENERIC_CACHE=true
      - LANCACHE_IP=192.168.43.2:81
      - DISABLE_WINDOWS=true
    depends_on:
      - steamcache

I also tried with the netork adress of docker0 in STEAMCACHE_IP and LANCACHE_IP

Docker Container Output:

Starting steamcache_steamcache_1
Starting steamcache_genericcache_1
Recreating steamcache_steamcachedns_1
Attaching to steamcache_steamcache_1, steamcache_genericcache_1, steamcache_steamcachedns_1
steamcache_1     | nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
genericcache_1   | nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
steamcache_1     | nginx: configuration file /etc/nginx/nginx.conf test is successful
genericcache_1   | nginx: configuration file /etc/nginx/nginx.conf test is successful
steamcachedns_1  | Running bootstrap.sh...
steamcachedns_1  | Enabling cache for Blizzard
steamcachedns_1  | Enabling cache for Frontier
steamcachedns_1  | Enabling cache for Origin
steamcachedns_1  | Enabling cache for Riot
steamcachedns_1  | Enabling cache for Steam
steamcachedns_1  | Enabling cache for Uplay
steamcachedns_1  | bootstrap finished.
steamcachedns_1  | checking Bind9 config
steamcachedns_1  | Running Bind9

Here is the symptoms from my windows computer

c:\PortQryV2>ping www.google.fr
Ping request could not find host www.google.fr. Please check the name and try again.

c:\PortQryV2>nslookup www.google.fr
Server:  UnKnown
Address:  192.168.43.2

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** UnKnown can't find www.google.fr: Server failed

c:\PortQryV2>PortQry.exe -n 192.168.43.2 -e 53 -p UDP

Querying target system called:

 192.168.43.2

querying...

UDP port 53 (domain service): LISTENING

Any help would be greatly appreciated,
Thx !

[COMCAST] Steam downloads not hitting cache

System:
unRAID 6.5.2

Issue Description:
Steam game downloads are not hitting the cache.

First off, all this is working fine:

  • Blizzard and Origin downloads get cached and work properly.
  • Running "Resolve-DnsName steamcache.cs.steampowered.com" in powershell from another computer properly returns the steamcache server IP
  • I see hits on the cache for "GET /serverlist/31/20/ HTTP/1.1" 200 785 "-" "Valve/Steam HTTP Client 1.0" "HIT" "valve1.steamcontent.com" "-"

Despite all that working fine I do not see any attempts on the cache for Steam game downloads.

Docker Container Output:

Running bootstrap.sh...
Enabling cache for Blizzard
Enabling cache for Frontier
Enabling cache for Origin
Enabling cache for Riot
Enabling cache for Steam
Enabling cache for Uplay
Enabling cache for Windows
Enabling custom DNS forwarder
bootstrap finished.
checking Bind9 config
Running Bind9

Any logs or commands I can try for more information?

*.steamcontent.com not cached

Issue Description:
I updated sources a couple hours ago and built docker image (I'm on a machine with ARM processor and the official built image runs on x86 machines). It appears that steam downloads an update from an url like http://valve2506.steamcontent.com, but nothing is cached. I traceroute valve2506.steamcontent.com and it ends up here :

$ traceroute valve2507.steamcontent.com
traceroute to valve2507.steamcontent.com (185.25.182.37), 64 hops max, 52 byte packets
 1  bbox.lan (192.168.1.254)  3.353 ms  4.190 ms  4.631 ms
 2  * * *
 3  be64.cbr01.lyo.net.bbox.fr (212.194.171.152)  32.246 ms  29.482 ms  36.508 ms
 4  be5.cbr01-cro.net.bbox.fr (212.194.171.141)  36.156 ms  38.704 ms  32.451 ms
 5  la12.rpt02-ix2.net.bbox.fr (212.194.171.88)  35.273 ms  31.859 ms  31.217 ms
 6  valve.par.franceix.net (37.49.237.57)  31.246 ms  27.776 ms  31.398 ms
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *

when I traceroute steamcontent.com it's ok, it ends up on my steamcache machine.

$ traceroute steamcontent.com
traceroute to steamcontent.com (192.168.1.6), 64 hops max, 52 byte packets
 1  192.168.1.6 (192.168.1.6)  4.284 ms  4.690 ms  4.850 ms

I looked at uklans/cache-domains and *.steamcontent.com is listed for Steam, so I think the problem is not on their side.

Docker Run Command:

sudo docker run --name steamcache-dns --restart=always -d -p 53:53/udp -e STEAMCACHE_IP=192.168.1.6 -e ORIGINCACHE_IP=192.168.1.6 -e UPLAYCACHE_IP=192.168.1.6 steamcache-dns:latest

Here are some excerpt from error.log :

2018/08/14 18:00:40 [crit] 11#11: *1003 mkdir() "/data/cache/depot/386362" failed (2: No such file or directory) while reading upstream, client: 192.168.1.32, server: *.cs.steampowered.com, request: "GET /depot/386362/chunk/8388981bd01a4b5d0e3eacbe992ceef98be4bf02?l=14&e=1534867254&sid=86862769&h=942eeed3137660f96c06ce9e5c43406d959bdf29 HTTP/1.1", upstream: "http://185.25.182.6:80/depot/386362/chunk/8388981bd01a4b5d0e3eacbe992ceef98be4bf02?l=14&e=1534867254&sid=86862769&h=942eeed3137660f96c06ce9e5c43406d959bdf29", host: "valve2508.steamcontent.com"
2018/08/14 18:00:40 [crit] 10#10: *987 mkdir() "/data/cache/depot/386362" failed (2: No such file or directory) while reading upstream, client: 192.168.1.32, server: *.cs.steampowered.com, request: "GET /depot/386362/chunk/805549a70313fccecc9e475de836fab464a858be?l=14&e=1534867254&sid=86862769&h=942eeed3137660f96c06ce9e5c43406d959bdf29 HTTP/1.1", upstream: "http://185.25.182.5:80/depot/386362/chunk/805549a70313fccecc9e475de836fab464a858be?l=14&e=1534867254&sid=86862769&h=942eeed3137660f96c06ce9e5c43406d959bdf29", host: "valve2506.steamcontent.com"
2018/08/14 18:00:40 [crit] 10#10: *973 mkdir() "/data/cache/depot/386362" failed (2: No such file or directory) while reading upstream, client: 192.168.1.32, server: *.cs.steampowered.com, request: "GET /depot/386362/chunk/121199b97875661a81e3a54c9cc1da457af0fbc7?l=14&e=1534867254&sid=86862769&h=942eeed3137660f96c06ce9e5c43406d959bdf29 HTTP/1.1", upstream: "http://185.25.182.38:80/depot/386362/chunk/121199b97875661a81e3a54c9cc1da457af0fbc7?l=14&e=1534867254&sid=86862769&h=942eeed3137660f96c06ce9e5c43406d959bdf29", host: "valve2509.steamcontent.com"

Other Zones?

On the Generic cache page it says: "Note: steamcache-dns does not currently support these providers. It will be updated soon."

Wondering if that was still on the way?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.