# Set Up SRV Records for Your SCP: Secret Laboratory Server (/docs/scp-secret-laboratory/srv-records)



A **DNS SRV record** lets players connect to your SCP: Secret Laboratory server using a memorable domain (e.g. `play.myserver.gg`) instead of a raw IP and port. The SRV record tells the client which IP and port to actually use, so you can share a clean address.

<Callout type="info">
  You need a **domain name** and access to its DNS settings (at your registrar or a DNS provider like Cloudflare). SRV records are configured at the DNS level, not on the game server itself.
</Callout>

What an SRV record contains [#what-an-srv-record-contains]

An SRV record maps a service to a target host and port. The pieces you'll set:

| Field           | Value                                                                                     |
| --------------- | ----------------------------------------------------------------------------------------- |
| **Service**     | `_scpsl`                                                                                  |
| **Protocol**    | `_udp` (SCP:SL uses UDP)                                                                  |
| **Name / Host** | your subdomain, e.g. `play` (for `play.myserver.gg`)                                      |
| **Priority**    | `0`                                                                                       |
| **Weight**      | `0`                                                                                       |
| **Port**        | your server's game port (from the [XGamingServer panel](https://panel.xgamingserver.com)) |
| **Target**      | the hostname or IP of your server                                                         |

The full record often looks like `_scpsl._udp.play.myserver.gg`.

Steps [#steps]

1. In the [panel](https://panel.xgamingserver.com), note your server's **IP and game port** (Network tab).
2. In your DNS provider, add an **SRV record** with the values above — Service `_scpsl`, Protocol `_udp`, pointing to your server's IP and port.
3. If your DNS provider wants the target as a hostname, create an **A record** first (e.g. `node.myserver.gg` → your server IP) and point the SRV target at that.
4. Wait for DNS to propagate (a few minutes to an hour), then share your clean domain with players.

<Callout type="warn">
  Exact field names vary slightly between DNS providers, and SCP:SL's expected service/protocol values can change between versions. Confirm the current values on the official [SCP:SL techwiki SRV guide](https://techwiki.scpslgame.com/books/server-guides) before you rely on it.
</Callout>

Why use SRV records [#why-use-srv-records]

* **Clean address** — share `play.myserver.gg` instead of `123.45.67.89:7777`.
* **Change servers without telling players** — repoint the record if your IP or port changes; the domain stays the same.
* **More professional** — a branded domain looks better in your community and server list.
