Closed KazakEz closed 2 years ago
This is already really simple to do with the use of the built in Node.js dns
package. You can read more about it here: https://nodejs.org/api/dns.html#dnsresolvesrvhostname-callback. There are guides online for how Minecraft reads SRV records.
This is already really simple to do with the use of the built in Node.js
dns
package. You can read more about it here: https://nodejs.org/api/dns.html#dnsresolvesrvhostname-callback. There are guides online for how Minecraft reads SRV records.
can't get port of domain
The port for the domain is the same as the port you use to connect to the domain for status. It should be used in the resolve string like: _minecraft._tcp.play.hypixel.net:25565
. The port of the IP address returned from that is also included in the result.
The port for the domain is the same as the port you use to connect to the domain for status. It should be used in the resolve string like:
_minecraft._tcp.play.hypixel.net:25565
. The port of the IP address returned from that is also included in the result.
I want to do like in this bot Try ping the server: go.vimeevent.ru will not work because its real port is quite different 45.93.200.35:25630
/closed