Beginner5 minUpdated: 2026-09-13

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.

Verified against

DNS
SRV / A
Minecraft
Java 1.20.x+
Last checked
2026-09-13

Before you start

  • A domain moved to Cloudflare (nameserver change already completed)
  • Your server's IP address and port
  • 5-30 minutes of patience for DNS propagation
On This Page
All Guides
Reading progress

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.

Clodo
clodo.net / panelLIVE

Cloudflare DNS & DDoS Automation

System Normal

Clodo Integrated Cloudflare Domain Hub

Connect your Cloudflare zone with 1-click; SRV and A records provision automatically.

Attached Domain
oyna.sunucum.com
Record Types
SRV + A (DNS Only)
Target Port
25577 ➔ Otomatik
Cloudflare State
Doğrulandı
Clodo Panel Automations1-CLICK READY
1-Click Auto ProvisionTamamlandı
DNS-Only Integrity CheckDoğrulandı
Instant TTL FlushAktif
DDoS Shield SubnetAktif

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#

Method Comparison

How to Implement This?

Clodo Automated Cloudflare Integration

1-Click Cloudflare OAuth Integration

Connect your Cloudflare account with 1-click OAuth; Clodo provisions subdomains and SRV records automatically.

Where in Panel? Panel > Service detail > 'Domain' card: authorize Cloudflare, pick your zone and prefix (e.g. play.myserver.com), and the A record and origin rule are created for you.
Step-by-step Execution:
  1. 1No manual API token editing; Clodo provides official OAuth authentication.
  2. 2If your server port changes, Clodo syncs your SRV records dynamically.
  3. 3DNS-only bypass is enforced automatically, eliminating configuration mistakes.

Was this guide helpful?

Feedback goes straight to the team that maintains this guide.

Related Guides