How to properly set up DNS records for server supporting both Java and Bedrock

Galsk

Plugin Developer or something idk
Premium
Feedback score
1
Posts
123
Reactions
14
Resources
0
Hey guys! Title pretty much says it all. I am wondering how to properly allow bedrock players to connect to my server. I have geyser set up so I can use my number ip on whatever port I like (currently 25565 due to pterodactyl setup) but I'm unsure how to get a dns record to work. I know how to do it for Java and I've done it many times using SRV records and tcpshield but this is somewhere I have little experience with. I would prefer not to expose the original ip hence using tcpshield for bedrock connections, but even without tcp shield I can't figure out how to make it work.

I know Bedrock edition uses UDP protocal but as far as I know does not support SRV records making it difficult.

Any help is appreciated!
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Annie

ApolloSMP
Supreme
Feedback score
20
Posts
682
Reactions
402
Resources
9
For the bedrock proxy you want to use the default port for bedrock, then you can use an A record and no SRV record.
 

Galsk

Plugin Developer or something idk
Premium
Feedback score
1
Posts
123
Reactions
14
Resources
0
Thanks for the reply, would this still work with the A record being proxied our would it have to be a DNS record?
 

Galsk

Plugin Developer or something idk
Premium
Feedback score
1
Posts
123
Reactions
14
Resources
0
What do you mean? An A record is DNS. What does the proxy have to do with it?
I mean using cloudflare's proxy to hide the original IP of my machine. If I have my A record set to DNS only just a simple ping will show the original IP whereas having it set to proxied does not, but I can't use it to connect on bedrock when it is proxied.

I am wondering if anybody knows how to do that properly
 

Annie

ApolloSMP
Supreme
Feedback score
20
Posts
682
Reactions
402
Resources
9
I mean using cloudflare's proxy to hide the original IP of my machine. If I have my A record set to DNS only just a simple ping will show the original IP whereas having it set to proxied does not, but I can't use it to connect on bedrock when it is proxied.

I am wondering if anybody knows how to do that properly
You cannot proxy game servers through regular cloudflare, period. Not bedrock, not java. The free proxy is only for HTTP services, you can't even proxy a mail server. You can pay for cloudflare spectre I think it's called, which is a tunneling service though cloudflare but I've heard it's fairly expensive. So if you're looking for ddos protection you will need to go with a host that provides proper ddos protection
 
Top