SRV Records: Connect Without a Port
Tired of telling players to join 123.45.67.89:25567? With a custom domain and an SRV record, they can join using just play.yourserver.com.
1. Create an 'A' Record
First, you need a record that points to your server's IP address.
- Type: A
- Name:
mc(ornodes) - Value:
123.45.67.89(Your Server IP)
2. Create the SRV Record
This tells Minecraft which port to use when someone types your domain.
- Type: SRV
- Name:
_minecraft._tcp.play - Value (Format vary by registrar):
- Priority: 0
- Weight: 5
- Port:
25567(Your Server Port) - Target:
mc.yourserver.com(The A record you created)
Common Registrar Examples
Cloudflare
Select SRV record. Service: _minecraft, Protocol: TCP, Name: play, Target: mc.yourserver.com, Port: 25567.
Namecheap / GoDaddy
These usually require the full string in the name field: _minecraft._tcp.play.
DNS Propagation: After saving these records, it may take anywhere from 1 minute to 24 hours for the changes to take effect globally. Use a tool like DNSChecker.org to monitor the progress.