SRV records not working
Hey! I'm trying to host a few minecraft servers on my server computer. I want to have them connected to domains and I want users to be able to join without having to write the port. I think SRV records are the correct solution to this. The server is running at port 25569 My current dns setup looks like this:
Clients can currently connect with domain and the port. But not without the port.
26 Replies
dont have the a record and srv record on the same subdomain
(its possible but eh more hassle imo)'
just set A record to A.example.com
and then make the srv target the A record
how would I do that?
sorry I don't understand
u have a A record already
just change its name to A
so it would be A.example.com
yea did that
now wait for ttl
300 sec
ouch
sorry ment secs
5mins
ah
aws says its in sync now
@ProGamingDK
have u tried joining?
unknown host
my dns setup looks like this

what do you get if you run
nslookup -type=srv _minecraft._tcp.play.example.com
and does
a.[server].fi
resolve to your server's IP?yes
a.[server].fi:25569 works finme
your isp might not support
srv
records
nslookup should use the same nameservers as minecraft
wtf
I did nothing and now it suddenly works
average dns moment
should've probably also told you to do
ipconfig /flushdns
if you were on windowsim on linux
Also, setting your dns name servers to
8.8.8.8/8.8.4.4
, 1.1.1.1/1.0.0.1
or 9.9.9.9/149.112.112.112
may help
figured by the 127.0.0.53 as your dns resolverwell dns is always wired
it would be
systemd-resolve --flush-caches
on most linux distrosnot the first day I have spent fighting with dns servers
thank you both for help :)