Portless Minecraft IP with Cloudflare: Configuring DNS A & SRV Records

Complete guide to configuring DNS A and SRV records on Cloudflare so players can join using clean domains.

Principiante5 minActualizado:13 de septiembre de 2026
Verificado: DNS SRV / AMinecraft Java 1.20.x+

If your Minecraft server runs on a non-default port (e.g. 25577 instead of 25565), players have to append ':port' to your IP. An SRV record instructs the game client to automatically resolve the port via DNS.

Cloudflare DNS and Minecraft SRV Routing Architecture
DNS A record IP resolution and SRV automatic port forwarding topology.

Cloudflare SRV Resolution & Packet Routing Pipeline

Step-by-step resolution path from clean vanity domain to backend gaming socket.

ARCHITECTURE FLOW
1İSTEMCİ
Vanity Domain

Player inputs oyna.sunucum.com and hits connect.

2DNS KATMANI
Cloudflare SRV Lookup

Client queries SRV record and retrieves targeted port 25577.

3IP ÇÖZÜMLEME
A Record Lookup

Unproxied A-record resolves directly to Clodo host IP.

4KORUMA
Clodo DDoS Shield

L4 mitigation filters authenticate incoming gaming traffic.

5BAĞLANDI
Game Server Socket

Player joins seamlessly with zero port requirements.

1. The Two Required DNS Records#

You need two records in your Cloudflare DNS table: an 'A' record pointing to your server IP, and an 'SRV' record pointing to your game port.

Cloudflare DNS Tablosu
1. A Kaydı:
Tür: A
Ad: baglanti (veya sunucu)
IPv4: 13.143.223.63
Proxy Durumu: DNS Only (Gri Bulut) ⚠️

2. SRV Kaydı:
Tür: SRV
Ad: oyna
Hizmet: _minecraft
Protokol: _tcp
Öncelik (Priority): 0
Ağırlık (Weight): 5
Port: 25577
Hedef (Target): baglanti.alanadiniz.com

2. Domain Setup Methods Compared#

Comparación de métodos

¿Cómo implementar esto?

Clodo Cloudflare Integration (Web Only)

Cloudflare OAuth Integration

The Cloudflare OAuth connection in the Clodo panel is only available for web services (WordPress, static sites, etc.) and creates a proxied CNAME record. For game servers, you must manually add the SRV record via Cloudflare.

¿Dónde en el panel? Automated SRV or A records are not provisioned for game servers, and subdomains are not automatically defined. Please follow the standard steps above to configure them manually via your Cloudflare dashboard.
Ejecución paso a paso:
  1. 1For web services, you can securely connect your Cloudflare account via OAuth from the Clodo panel.
  2. 2A proxied CNAME record is automatically created for your web services.
  3. 3For your Minecraft server, you must manually add the required SRV records directly in your Cloudflare dashboard.

¿Te ha resultado útil esta guía?

Los comentarios van directamente al equipo que mantiene esta guía.

¿No encontró una solución?

Puede abrir una solicitud al equipo de soporte desde el panel.

Abrir una solicitud