lancachenet / lancache-dns

DNS Docker service for a lancache.

Home Page:https://hub.docker.com/r/lancachenet/lancache-dns/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNS Missing on Steam, Works on Blizzard

puppol opened this issue · comments

Describe the issue you are having

DNS requests on for Steam are all missing, for example:

[steam] 192.168.1.10 / - - - [03/Apr/2020:03:29:40 +0100] "GET /depot/381453/chunk/236e450c9f8c6e912911864a932b1e682883b29d HTTP/1.1" 200 601904 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache2-sea1.steamcontent.com" "-"
[steam] 192.168.1.10 / - - - [03/Apr/2020:03:29:40 +0100] "GET /depot/381453/chunk/2e816e711487f5c20266352f021c0756e5612793 HTTP/1.1" 200 821664 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache10-sea1.steamcontent.com" "-"

Yet it works just fine with Blizzard:

[blizzard] 192.168.1.10 / - - - [03/Apr/2020:03:31:06 +0100] "GET /tpr/ovw/data/5a/e8/5ae8dfc76841e20445914d0b50955ba5 HTTP/1.1" 206 266240 "-" "-" "HIT" "level3.blizzard.com" "bytes=1597440-1863679"
[blizzard] 192.168.1.10 / - - - [03/Apr/2020:03:31:06 +0100] "GET /tpr/ovw/data/5a/e8/5ae8dfc76841e20445914d0b50955ba5 HTTP/1.1" 206 266240 "-" "-" "HIT" "us.cdn.blizzard.com" "bytes=1863680-2129919"

How are you running the container(s)

I am running with sudo docker-compose up -d
Here is my .env

## See the "Settings" section in README.md for more details

## Set this to true if you're using a load balancer, or set it to false if you're using seperate IPs for each service.
## If you're using monolithic (the default), leave this set to true
USE_GENERIC_CACHE=true

## IP addresses that the lancache monolithic instance is reachable on
## Specify one or more IPs, space separated - these will be used when resolving DNS hostnames through lancachenet-dns. Multiple IPs can improve cache priming performance for some services (e.g. Steam)## IP Address that the lancache monolithic instance will run on
## Note: This setting only affects DNS, monolithic and sniproxy will still bind to all IPs by default
LANCACHE_IP=192.168.1.14 192.168.1.215 192.168.1.216 192.168.1.217

## IP address on the host that the DNS server should bind to
DNS_BIND_IP=192.168.1.14

## DNS Resolution for forwarded DNS lookups
UPSTREAM_DNS=1.1.1.1

## Storage path for the cached data
## Note that by default, this will be a folder relative to the docker-compose.yml file
CACHE_ROOT=./lancache

## Change this to customise the size of the memory cache (default 500m)
CACHE_MEM_SIZE=1000m

## Change this to customise the size of the disk cache (default 1000000m)
## If you have more storage, you'll likely want to increase this
## The cache server will prune content on a least-recently-used basis if it
## starts approaching this limit
CACHE_DISK_SIZE=1500000m

## Change this to limit the maximum age of cached content (default 3650d)
CACHE_MAX_AGE=3650d

Any ideas on why my cache is missing on all of the steam games but works perfectly for the blizzard games?

commented

A miss indicates that the cache doesn't have the file and will fetch it from the internet. A hit means that the cache already had that file at the time of asking. It likely that the particular over watch file you caught there caused the cache to download a large file and handed out the slices as hits. Misses and hits are both indications its working.

Interesting. I had the game (Dota) already cached. There was no update to the game, and it still was not hitting any slices on the cache. I made sure with glasswire my dns was correctly configured, and looked on my router and saw it was using full bandwidth going out of local network.

Are you still having issues with this? Do subsequent attempts to download the same steam game (dota in this case) still not show any HITs?

commented

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.