Handling SRV records

So im working on doing SRV records for my server so I can just have an IP, without a port at the end, and as far as I understand it's not too complicated at all, but I'm still pretty confused as it doesnt work, heres the current setup for it, any help is useful!
43 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by dodecrow#0
DODECA
DODECAOP4w ago
No description
kptz
kptz4w ago
are you changing your dns records from your domain provider im not sure if it changes from provider to provider but the way i do it is
DODECA
DODECAOP4w ago
oh yeah, this is on my domain provider end, im using squarespace domains for the time being
kptz
kptz4w ago
first you need to have a A record preferably you can make it smthn like srv.domainname.com
DODECA
DODECAOP4w ago
yep, thats the first blanked out thing
kptz
kptz4w ago
then for your SRV records make the name _minecraft._tcp.name name will be the subdomain for your server so name.domainname.com and have that targeted to your srv.domainname.com
kptz
kptz4w ago
never used squarespace so i cant provide ss but it should look smthn like this
No description
kptz
kptz4w ago
from my cloudflare settings
DODECA
DODECAOP4w ago
so _minecraft._tcp. and the name is the A record? or what i want the portless one to be
kptz
kptz4w ago
_minecraft._tcp. would be in the name and on srv there should be an additional target tab
DODECA
DODECAOP4w ago
i dont have a target tab, just a data field, but i would assume this is close to what it would be
No description
DODECA
DODECAOP4w ago
blahblah being the hostname/subdomain the A record uses
kptz
kptz4w ago
hm lemme see if theres a video of someone doing it on squarespaces panel cuz im not sure
DODECA
DODECAOP4w ago
yeaah, every other guide ive seen assumes that ive got more fields to enter things into but nothing that just has a raw text box
kptz
kptz4w ago
No description
kptz
kptz4w ago
from the squarespace forum your best bet would be creating a cloudflare account and adding the name server it provides to manage your dns on cloudflare instead of squarespace you should have a nameserver tab in your squarespace panel right?
kptz
kptz4w ago
No description
DODECA
DODECAOP4w ago
correctamundo
kptz
kptz4w ago
Connect, protect, and build everywhere | Cloudflare
Make employees, applications and networks faster and more secure everywhere, while reducing complexity and cost.
kptz
kptz4w ago
youll have to create a account or if you have one
DODECA
DODECAOP4w ago
oh yeah, ill crack at it, i was planning on using them for some zerotrust stuff but guess the account will come in use now
kptz
kptz4w ago
👍
DODECA
DODECAOP4w ago
im relatively sure that this is like, correct? though it doesnt resolve at all
No description
kptz
kptz4w ago
does cloudflare say that your domain is active yet?
DODECA
DODECAOP4w ago
yep
DODECA
DODECAOP4w ago
No description
kptz
kptz4w ago
you have A record named stackcamping right?
DODECA
DODECAOP4w ago
yep, they all route back to the server
kptz
kptz4w ago
you dont have proxy enabled ?
DODECA
DODECAOP4w ago
everythings proxied
No description
kptz
kptz4w ago
turn off the proxy for your A record mc servers dont work thru proxy
DODECA
DODECAOP4w ago
ah
kptz
kptz4w ago
ye works now
kptz
kptz4w ago
No description
DODECA
DODECAOP4w ago
oh huh swag ill just have to flip around the like, actual places these point to cause i did it somewhat backwards but swag! thanks for helping out!
kptz
kptz4w ago
one note if you want to add more servers to your domain change the weight by 10 like first server 0 weight 2nd 10 3rd 20 n so on
DODECA
DODECAOP4w ago
:Mae_Nod: makes sense as long as they all actually resolve correctly, it wont just randomly fall back to the incorrect one anyways, right?
kptz
kptz4w ago
nop it wont
DODECA
DODECAOP4w ago
cool! so, last thing just so i know im not an absolute idiot
1. A record that points to the actual server IP (not to be shared)
2. SRV record that points to the subdomain (to be shared, with the A record as the target)
1. A record that points to the actual server IP (not to be shared)
2. SRV record that points to the subdomain (to be shared, with the A record as the target)
kptz
kptz4w ago
eh even if you dont share your A records they are all public :silly:
kptz
kptz4w ago
No description
DODECA
DODECAOP4w ago
fair enough new to all of this, networking and DNS stuff so, glad for the help !

Did you find this page helpful?