-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Steam Beta Client supports LAN Event DNS injection #81
Comments
Just to keep this issue up to date, we are looking into this. There are a few complications with the way monolithic categorises cache types which we will need to iron out before this hits the live steam. Currently we categorise cache traffic using the requested cdn name (matching it to the uklans list). Unfortunately this method will no longer work as we would remove all but the lancache cdn from the DNS injection list. We are working with valve on how best to categorise steam traffic (possibly the user agent) and hope to have a PR in place soonish! EDIT |
This doesn't seem to be working with the current Steam beta for me at all. I took lancache-dns out of the equation, and added With lancache-dns enabled, all of my Steam downloads are instead going through sniproxy, which I can see clearly by inspecting the network traffic. Is there some step I'm missing? Does the |
What host names are you seeing in sni for steam? |
And what IP are you using for lancache |
My When I have lancache-dns disabled, using either the I tried using lancache-dns with When using lancache-dns with the default cache domains repo, it looks like sniproxy is seeing a bunch of connections like so:
|
Aaah. Are you on comcast? |
I am indeed. |
I've opened issue 85 for tracking feedback on this, as it's now live in the normal Steam client as of today. I've also highlighted the comcast issue here with Valve, I'll update this issue with anything when I get it. |
Can you confirm that lancache.steamcontent.com is resolving to your cache IP - as long as it resolves via nslookup, it should be enough (it should respect hosts file AFAIK). Also, if you could attach the relevant parts of your content.log file in your steam directory's logs folder. There should be lines like this:
It should be the case that with the lancache override Steam shouldn't be trying HTTPS, it should always fallback immediately to HTTP. |
Okay, after all the troubles I had, I went back to basics.
Now, I do indeed see |
@clee officially we don't support ipv6, but i'm pleased to see it looks like you have it working. I'm not sure how lancache-dns would behave in this situation so it's possible that's your issue. Either way, looks like it was config based and is now working. Glad you got it running! Note: this rolled into the mainline steam today, so you shouldn't need beta any more |
Note: Temporarily we have added the lancache.steampowered.com into cache_domains in addition to the current known upstream domains. We now have agreement from steam that they we can cache key using a specific agent, so we should be able to improve this at some point |
Is that "cold cache" performance, so where the game wasn't downloaded already on the cache? |
Just as a note on the IPv6 addresses people are seeing here - the |
No, the game I was downloading (Alan Wake) was already in the monolithic cache. However, I'm seeing some weird behavior here - my local lancache server gets picked up, and then this happens:
|
recently i've made a lancache follwing lancache.net page, and its working fine. but i need some some help. i've my own local dns server, so how may i forward lancache requests through my local dns...... |
What DNS software are you using? Depending on which one, you can download this repository and have it generate the necessary configuration entry for you. Worst-case scenario you'll have to manage this manually: https://github.com/uklans/cache-domains |
my local dns server running using bind.. |
In my ISP scenario i can't use lancache ip as a dns server to my client end, so can you please help me to find out a way so that, my clients will get cache content using my local dns server, actually i've need what configuration should to be done in my local dns. |
The first step is to have your clients actually use your own local DNS server for resolving IP addresses. I assume that part is ok. The fundamental idea of the Lan Cache is that your own local DNS server will reply to DNS queries for the various CDN Zones (Domains) used by whatever gaming platform you wish to serve locally. So if you want to cache Steam games locally, you will have to create the relevant Zone file in Bind, and for each domain in this list, have bind answer back with the IP address of your cache server: https://github.com/uklans/cache-domains/blob/master/steam.txt |
The latest Beta update of the Steam client of December 20, 2019, mentions the explicit support for redirecting downloads and updates through a locally running cache server: https://steamcommunity.com/groups/SteamClientBeta/announcements/detail/1698352047820654696
Looks like it should be enough to inject the IP address(es) of the local cache server for that DNS entry. For backwards compatibility this could just be appended to the list of managed DNS overrides to support both stable and beta releases of the Steam client.
The text was updated successfully, but these errors were encountered: