This docker container provides DNS entries to be used in conjunction with a steamcache server.
The primary use case is gaming events, such as LAN parties, which need to be able to cope with hundreds or thousands of computers receiving an unannounced patch - without spending a fortune on internet connectivity. Other uses include smaller networks, such as Internet Cafes and home networks, where the new games are regularly installed on multiple computers; or multiple independent operating systems on the same computer.
Run the steamcache-dns container using the following to allow UDP port 53 (DNS) through the host machine. Replace STEAMCACHE_IP with the IP address of your steamcache server.
docker run -it --name steamcache-dns -p 53:53/udp -e STEAMCACHE_IP=10.0.0.3 kixelated/steamcache-dns:latest
-d will run the docker container in the background. Access the logs with docker logs steamcache.--network host will use the host networking stack for improved performance.--log-opt max-size=10m --log-opt max-file=3 will automatically rotate container logs.For a steam cache to function on your network you need two services.
The depot cache service transparently proxies your requests for content to Steam, or serves the content to you if it already has it.
The special DNS service handles DNS queries normally (recursively), except when they're about Steam and in that case it responds that the depot cache service should be used.
Modify etc/dnsmasq.d/steamcache.conf to add or remove DNS entries. These will occasionally change as game clients are updated.
Follow the instructions in the Docker documentation to run the container at startup. Documentation
More information can be found at the SteamCache github page
The MIT License (MIT)
Copyright (c) 2015 Jessica Smith, Robin Lewis, Brian Wojtczak, Jason Rivers
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.
docker pull didstopia/steamcache-dns:latest