Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steamcache-dns constantly restarting #70

Closed
savimaki opened this issue Feb 17, 2019 · 3 comments
Closed

steamcache-dns constantly restarting #70

savimaki opened this issue Feb 17, 2019 · 3 comments

Comments

@savimaki
Copy link

savimaki commented Feb 17, 2019

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

@savimaki
Copy link
Author

/etc/resolv.conf

"nameserver 127.0.0.53"

@some-username-here1
Copy link

If you looked in the cache_domains.json, you can see that the Windows Update service name is actually wsus, so it would be WSUSCACHE_IP instead, not WINDOWSUPDATESCACHE_IP

@VibroAxe
Copy link
Member

@some-username-here1 is correct, you also have the wrong service name for twitch it should be TWITCH not TWITCH_APP

Your run command should look like this:

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 WSUSCACHE_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 TWITCHCACHE_IP=192.168.1.209 \
  -e APPLECACHE_IP=192.168.1.210 \
  -e XBOXLIVECACHE_IP=192.168.1.211 \
  steamcache/steamcache-dns:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants