Server DNS Records
Server DNS Records
Rust supports connecting to servers through DNS records if you add the right records for them. To properly configure your Rust server to allow connections using a DNS hostname you will need to create two records.
- "A" record pointing to your Rust server's IPv4 address
- "SRV" record pointing to your "A" record with your server's game port (
server.port
)
- be setup as
_rust
service and_udp
protocol - not have multiple entries for the same server
Dashboard Examples using the DNS hostname `EUL1.playrust.com`
CloudFlare
CloudFlare has the service, protocol, and name all in the name box.
GoDaddy
GoDaddy has separate boxes for the service, protocol, and name.
Favorites List
If you have configured a DNS hostname for your Rust server then you can take advantage of enhanced favoriting for your server. Simply set the server.favoritesEndpoint
convar to your Rust server's domain name and then any players who favorite your server would automatically use the domain name to find the server again in the future. This allows your server to go through IP and port changes without players losing it on their favorites list.
server.favoritesEndpoint
should be set to your "A" record, so it should not have "_rust._udp" in it.