Skip to main content
Steam games use A2S queries to show your server in the server browser with its name, map and player count. Attackers can flood your server with these queries, which uses up CPU and makes your server show as offline. The A2S cache answers these queries for you at the edge of the network, so they never reach your server.

Difficulty

Beginner

Time

3 minutes

Before you start

  • The A2S cache is available on IP addresses protected by CosmicGuard. Check the Provider column in My IP addresses. See DDoS protection providers for more.
  • Your game must use Steam’s standard server query (A2S). Most Source and Steam games do, such as Rust, Counter-Strike, Garry’s Mod, ARK and DayZ.
  • Know your server’s query port. On many Source games it’s the same as the game port, for example 27015. Check your game server’s settings or startup page if you’re not sure.

How it works

1

The cache learns your server's details

The protection network regularly asks your server for its name, map and player count, and stores the answer.
2

Players and server lists ask for your server

When the Steam server browser or a player asks your server for its details, the cache answers straight away.
3

Your server keeps its CPU for the game

Query floods hit the cache instead of your server, so your server stays visible and players don’t notice the attack.

Turn on the A2S cache

1

Open your IP addresses

Go to My IP addresses and find your CosmicGuard IP.
2

Open the cache page

In the Actions column, click the cache icon (it looks like a stack of disks). The cache page for that IP opens.
3

Add your query port

In the A2S section, under Stage ports, type your query port, such as 27015, and click + Add. The port appears below as a tag. Add each port you want to cache. To take a port off the list before applying, click the × on its tag.
A2S section showing Active ports with No ports are cached right now, a Stage ports field with port 27015 added as a tag, and Apply cache and Remove cache buttons

Staging a port for the A2S cache

4

Apply the cache

Click Apply cache. Your ports move to Active ports, which shows the ports that are being cached right now.
Click the refresh icon in the top right of the A2S section to load the latest list of active ports.

Turn off the A2S cache for a port

1

Stage the port

On the cache page, add the port you want to stop caching under Stage ports and click + Add.
2

Remove the cache

Click Remove cache. The port disappears from Active ports, and queries go straight to your server again.

Troubleshooting

The A2S cache is only available on CosmicGuard IP addresses. If your IP uses another provider, the icon doesn’t appear. If you’re a team member, your role also needs the cache permissions. See team members and roles.
The cache refreshes your server’s details regularly, so a change of map or player count can take a short moment to appear. If the details stay wrong, remove the cache for the port and apply it again.
Check that you cached the query port, not only the game port, and that it appears under Active ports. Also make sure your game uses Steam’s A2S query. If it still doesn’t appear, open a ticket with your IP and port.

Apply DDoS filters

Add a filter or profile for your game.

DDoS protection providers

See which provider protects your IP.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026