Rust SRV Record Setup Guide

This guide will help you set up SRV records for your Rust server. Follow the instructions carefully to ensure your server is correctly configured and added to favorites. For this, we will assume your IP is 169.254.60.1.

Steps

  1. Create an A record:

    Example: server1.myrustserver.com pointing to 169.254.60.1

  2. Create an SRV record:

    Name: _rust._udp.server1.myrustserver.com

    Target: server1.myrustserver.com

    Port: 28025

    Weight: 1 (adjust if required)

  3. Set the server favorites endpoint convar:

    Command: server.favoritesEndpoint server1.myrustserver.com

Note: If your server IP or query port changes, update the IP address in the A record, and update the SRV port to your new query port if applicable.

Client Configuration

Client favorites are saved locally in cfg/favorites.cfg.

Incorrectly setting _rust._udp.server1.myrustserver.com will cause it to save to the client's config but not resolve correctly, preventing your server from being favorited.