Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
You can give a Minecraft Java server a memorable address such as mc.example.com by putting a DNS record in Cloudflare. For the default Java port, create an A, AAAA, or CNAME record and have players connect to the hostname. If the server uses another port, add an _minecraft._tcp SRV record so Java can discover that port.
DNS naming and traffic proxying are different jobs. A DNS-only record creates the custom address but reveals the server’s public IP and leaves Minecraft traffic connecting directly to the host. Cloudflare’s ordinary orange-cloud web proxy and a standard Tunnel public hostname are not general-purpose Minecraft TCP proxies. If you need TCP proxying or want to hide the origin address, evaluate Cloudflare Spectrum and confirm its current plan and protocol requirements.
What a “custom Minecraft IP” actually is
A custom Minecraft server IP is normally a hostname, not a replacement numeric IP address. You keep the server’s existing public IPv4 or IPv6 address and publish a name under a domain you control, for example mc.example.com. Players type that hostname in Minecraft’s multiplayer screen instead of memorizing a number.
Cloudflare’s DNS service answers the hostname lookup. An A record maps a name to IPv4, an AAAA record maps it to IPv6, and a CNAME points the name at another hostname. These records solve address resolution; they do not automatically forward ports, encrypt Minecraft traffic, or conceal the origin.
#1 Best Overall
- Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
- With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
- Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
- Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
- Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.
This guide is centered on Minecraft Java Edition. Java clients can use an SRV record to find a non-default port. Bedrock and other clients have different connection conventions, so do not assume the Java SRV procedure applies to them.
Choose the right Cloudflare design first
| Goal | Cloudflare configuration | What players enter | Origin-IP result |
|---|---|---|---|
| Memorable name, server on the default Java port | DNS-only A, AAAA, or CNAME record | mc.example.com |
The public origin address remains discoverable |
| Memorable name, Java server on another port | DNS-only address record plus an _minecraft._tcp SRV record |
mc.example.com |
The public origin address remains discoverable |
| Alias an existing hostname | DNS-only CNAME pointing to a hostname that already resolves to the server | Your chosen hostname | Depends on the destination; DNS still exposes the resolved address |
| Publish a web panel or other supported web service | Cloudflare Tunnel public-hostname routing | The configured web hostname | Designed for supported web traffic, not a direct Minecraft TCP path |
| Proxy Minecraft TCP traffic or investigate origin-IP masking | Cloudflare Spectrum application | A Spectrum hostname and edge port configuration | Potentially masks the origin, subject to plan and protocol support |
The basic DNS route is the correct choice when the requirement is simply a branded address. Spectrum is a separate, paid product; check Cloudflare’s current plan and protocol matrix before committing to it.
Prerequisites
- A registered domain, or a domain already managed by you.
- A Cloudflare account with the domain added.
- The server’s reachable public IPv4 address, IPv6 address, or an existing hostname that resolves to it.
- The Minecraft Java listening port. The default is commonly 25565; use the actual value in your
server.propertiesand host configuration. - Permission to edit the authoritative DNS zone.
- Access to the host firewall and, for a home-hosted server, the router’s port-forwarding settings.
Add the domain to Cloudflare and make DNS authoritative
In Cloudflare, add your domain and follow the nameserver instructions at your registrar. The most complete arrangement is Cloudflare’s Full Setup, in which Cloudflare is the authoritative DNS provider. Cloudflare says Full Setup provides the best Tunnel experience and allows Tunnel to configure DNS records automatically for newly started tunnels. You do not need a Tunnel for the direct DNS method, but authoritative DNS is still the cleanest way to manage the records in this guide.
- Open the Cloudflare dashboard and select Add a domain (the exact button wording can change).
- Enter the domain, select the requested plan, and review the imported DNS records.
- At your registrar, replace the domain’s nameservers with the pair Cloudflare gives you.
- Wait until Cloudflare reports that the nameserver change is active. Do not delete unrelated records during the import review.
If your registrar remains authoritative, you can still create the equivalent records at that registrar, but the record names and controls described below will be in that provider’s DNS interface rather than Cloudflare’s.
Create a custom hostname for a default-port server
Use this method when players should connect to mc.example.com and the Java server listens on the default port. A direct Minecraft connection must use a DNS-only record, shown by Cloudflare’s gray-cloud status.
Option A: A record for IPv4
- In Cloudflare, open Websites, select the domain, and choose DNS then Records.
- Select Add record.
- Set Type to A.
- Set Name to
mc. Cloudflare appends the zone, producingmc.example.com. - Enter the server’s public IPv4 address in IPv4 address.
- Set Proxy status to DNS only (gray cloud).
- Leave TTL at Auto unless you have a documented DNS-management reason to change it, then save.
Players can now enter mc.example.com. Because this is the default-port case, no port suffix is needed in the Minecraft client.
Rank #2
- Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
- Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
- Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
- Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
- Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
Option B: AAAA record for IPv6
Create an AAAA record when the server has a stable, publicly reachable IPv6 address and the network allows inbound Minecraft traffic over IPv6. Use the same mc name, enter the IPv6 address, and keep the record DNS-only. Publish AAAA only when IPv6 connectivity is intentional; otherwise, some clients may choose an IPv6 path that your firewall or ISP does not actually support.
Option C: CNAME to an existing hostname
Use a CNAME when another hostname already represents the server, such as a provider-assigned endpoint. Set Type to CNAME, Name to mc, and Target to the existing hostname. Keep it DNS-only for direct Minecraft access. The destination hostname must itself resolve correctly, and changing that destination later changes where your custom name leads.
If you do not have a server yet, Godlike.Host Minecraft Java server hosting offers 10 data-center locations, free DDoS protection and a Pterodactyl-based panel with SFTP access, and you can point your Cloudflare record at the server once it is running.
Use an SRV record when the Java server uses a non-default port
Suppose the server listens on port 25570 but you want players to enter only mc.example.com. Publish an address record for the hostname and an SRV record describing the Minecraft service. Java clients can query the SRV record and learn the port without players typing :25570.
1. Create an address record for the SRV target
The SRV target must have an address record. A clear arrangement is:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
| Record type | Name | Value | Proxy status |
|---|---|---|---|
| A | mc-origin |
203.0.113.10 (documentation example; replace with the server’s real IPv4 address) |
DNS only |
This creates mc-origin.example.com. You may use the same hostname players enter as the SRV target if it already has a suitable A or AAAA record; a separate origin name simply makes the roles easier to understand.
Rank #3
- 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
- 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
- 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
- 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
- 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
2. Add the Minecraft SRV record
- In DNS > Records, select Add record.
- Choose SRV as the type.
- In the service field, enter
_minecraft. - In the protocol field, enter
_tcp. - Set the name to
mc(the resulting service name is_minecraft._tcp.mc.example.com). - Enter
25570, or your server’s actual listening port, in Port. - Set Priority and Weight to
0for a single-server setup. - Set Target to
mc-origin.example.com, with the trailing dot if Cloudflare’s interface displays one. - Save the record. SRV records are DNS records, not orange-cloud proxy records.
Players still enter mc.example.com. The Java client looks up the service record, resolves the target, and attempts the advertised port. If a client does not honor SRV records, the fallback is to enter the hostname with an explicit port, such as mc.example.com:25570, when that client supports the syntax.
Configure the server, firewall, and router
DNS cannot open a closed port. The Minecraft process must listen on the intended interface and the network must pass traffic to it.
- Confirm the server’s listening port in its configuration. For Java, check the
server-portsetting inserver.properties. - Bind the process to the intended interface. An accidental loopback-only binding makes the service reachable from the host but not from the Internet.
- Allow inbound TCP traffic on that port in the operating-system firewall.
- If the server is behind a home router, create a TCP port-forward from the router’s public side to the server’s private address. Forward the same port used in the Minecraft configuration and SRV record.
- Give the server a stable private address, or reserve its DHCP lease, so the forwarding rule does not silently point to a different device later.
- If you publish an AAAA record, allow and test the equivalent IPv6 path separately.
Do not publish a port in DNS that differs from the port your process and firewall actually use. An SRV record can advertise a port, but it cannot change the port on which Minecraft is listening.
Free tools Windows power users keep installed
One-click scans. No signup required.
Verify the records from outside your network
Testing from the same home network can be misleading when a router lacks NAT loopback support. Use a phone hotspot, a remote shell, or another external connection.
Check A and AAAA resolution
dig +short A mc.example.com
dig +short AAAA mc.example.com
The A result should be the published IPv4 address, and the AAAA result should appear only if you intentionally created one. With Windows PowerShell, use Resolve-DnsName mc.example.com.
Check the SRV record
dig +short SRV _minecraft._tcp.mc.example.com
nslookup -type=SRV _minecraft._tcp.mc.example.com
The response should show the priority, weight, port, and target. Resolve that target separately and confirm it returns the expected address record.
Rank #4
- 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
- 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
- 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
- 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
- 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
Test the actual game connection
- From the external network, open Minecraft Java Edition.
- Add a server using
mc.example.com. - For a non-default-port setup, first test the SRV-based name; if it fails, test the explicit port to distinguish an SRV problem from a network problem.
- Check the server console for an incoming connection while testing.
No universal propagation interval or latency figure is established here. DNS resolvers cache records according to their TTL, and the practical timing depends on the resolver and on whether nameservers were changed.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Why the orange-cloud proxy is not the normal Minecraft solution
Cloudflare’s proxied-record switch is designed for supported HTTP and related Cloudflare products. Turning an A, AAAA, or CNAME record orange does not turn Cloudflare’s ordinary web proxy into a general Minecraft TCP relay. A direct Java server should therefore use DNS-only records unless you have deliberately configured a product that supports the required TCP protocol.
If you accidentally proxy the game hostname, players may see timeouts or protocol errors rather than a working Minecraft connection. Return the record to DNS only, then test DNS resolution and the origin port independently.
Can Cloudflare Tunnel carry a Minecraft Java server?
Do not treat a standard Cloudflare Tunnel public hostname as a direct Minecraft TCP endpoint. Tunnel is appropriate for supported web services, dashboards, and HTTP/HTTPS applications associated with a server. Cloudflare’s current Spectrum limitations state: “Integrating Spectrum with Cloudflare Tunnel is only supported for HTTP/HTTPS applications.” A Spectrum application of another type, such as TCP, cannot use a Tunnel origin directly, and a direct <UUID>.cfargotunnel.com origin is not a valid workaround for that limitation.
Full Setup, with Cloudflare authoritative DNS, gives Tunnel the best experience and can let Tunnel automatically configure DNS records for newly started tunnels. That convenience applies to Tunnel-supported applications; it does not change Minecraft’s TCP protocol requirements.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchUse Spectrum when the requirement is TCP proxying or origin privacy
Cloudflare describes Spectrum as the product for protecting TCP and other supported non-HTTP services, including Minecraft use cases. Spectrum applications use a public domain, an edge port, and an origin mapping. Players connect to the public endpoint while Spectrum handles the supported transport between Cloudflare’s edge and the origin.
Best Value
- 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
- 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
- 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
- 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
- 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
Spectrum is available on paid plans, and protocol support varies by plan. Confirm the current plan and protocol matrix in Cloudflare’s product documentation before purchasing or publishing an availability claim. Do not assume that a Tunnel subscription or an ordinary DNS record includes Spectrum.
What Spectrum changes
- It provides a Cloudflare service intended for TCP proxying rather than merely answering DNS queries.
- It is the Cloudflare option to investigate when exposing the origin address is unacceptable.
- It adds product configuration, plan limits, and cost that do not exist in the basic DNS-only setup.
What Spectrum does not remove
- The Minecraft server still has to listen on its configured origin port.
- Firewall and host configuration still need to allow the connection from the configured service.
- You must follow Spectrum’s current supported protocol, port, and plan rules.
DNS-only versus Spectrum: a practical decision guide
Choose DNS-only when branding is the objective
Use an A, AAAA, or CNAME record, plus SRV for a non-default Java port, when players mainly need a short memorable name and you accept that the origin address can be discovered. This is the least complex configuration and does not require a Cloudflare traffic-proxy product.
Investigate Spectrum when hiding the origin is essential
If revealing the server’s address is unacceptable or you specifically need a Cloudflare TCP proxy, compare Spectrum’s current paid-plan capabilities with your server’s protocol and port requirements. Configure the Spectrum application rather than attempting to force the orange-cloud web proxy or a Tunnel hostname to carry Minecraft traffic.
Use Tunnel for the surrounding web services
A server dashboard, map, status page, or administrative web panel may be a suitable Tunnel application when it meets Tunnel’s supported HTTP/HTTPS model. Keep that web hostname conceptually separate from the Minecraft TCP hostname.
Troubleshooting common failures
| Symptom | Likely cause | Fix |
|---|---|---|
| NXDOMAIN or no DNS answer | The record is in the wrong zone, nameservers are not active, or the name was mistyped. | Confirm Cloudflare is authoritative, check the exact record name, and query the authoritative zone again. |
| The hostname resolves to an old address | A stale A, AAAA, or CNAME record remains, or a resolver has cached the previous value. | Remove conflicting records, verify both A and AAAA values, and retest from an external resolver. |
| Connection times out | The port is not forwarded, the firewall blocks it, the process is stopped, or the record is incorrectly proxied. | Use DNS-only, verify the listening port, check the host firewall and router forwarding, and inspect the server console during a test. |
| Connection is refused | The address is reachable but no service is listening on the advertised port. | Compare server-port, the SRV port, the forwarding rule, and the process binding. |
| Default-port name works but SRV name fails | The SRV service, protocol, name, target, or port is wrong. | Query _minecraft._tcp.mc.example.com, ensure the target has A or AAAA resolution, and test the explicit port. |
| IPv4 works but some players cannot connect | An AAAA record advertises an IPv6 path that is not fully routed or permitted. | Remove the AAAA record until IPv6 is configured correctly, or open and test the IPv6 firewall path. |
| A Tunnel hostname does not accept Minecraft | The public-hostname route is being used for a TCP game service. | Use direct DNS for the origin connection or configure a supported Spectrum application; do not use a direct Tunnel UUID hostname as a TCP shortcut. |
Operational and security considerations
- Keep the Minecraft hostname DNS-only for direct access; the gray-cloud state is an important part of the configuration.
- Document which hostname is public, which hostname is the SRV target, and which port each one represents.
- Monitor both A and AAAA records after changing hosting providers. An overlooked AAAA record can send a subset of players to an old server.
- Restrict administrative services separately from the game port. A branded DNS name does not provide authentication or firewall protection.
- When changing the origin address, update the address record and verify SRV target resolution before announcing the change.
- If you move to Spectrum, review the current plan, protocol, edge-port, and origin requirements instead of assuming the DNS-only design still describes the traffic path.
Complete example configurations
Default Java port
| Type | Name | Value | Purpose |
|---|---|---|---|
| A | mc |
203.0.113.10 (example address) |
Maps mc.example.com to the server’s IPv4 address |
Players enter mc.example.com; the host firewall and router expose TCP 25565 if that is the server’s configured default port.
Non-default Java port
| Type | Name or service | Value |
|---|---|---|
| A | mc-origin |
203.0.113.10 (example address) |
| SRV | _minecraft._tcp.mc |
Priority 0, weight 0, port 25570, target mc-origin.example.com |
Players enter mc.example.com. The router, firewall, and Minecraft process must all accept TCP 25570.
Bottom line
For a normal Minecraft Java server, create a DNS-only A, AAAA, or CNAME record in Cloudflare and give players the resulting hostname. Add an _minecraft._tcp SRV record when the server uses a non-default port. This creates a custom address but does not hide the origin or proxy Minecraft traffic. Standard orange-cloud proxying and a regular Tunnel public hostname are not substitutes for a TCP Minecraft service; Spectrum is the Cloudflare product to evaluate when TCP proxying or origin-IP protection is the actual requirement.
Recommended Free Tools
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

