Open ykis-0-0 opened 2 years ago
The current implementation doesn't consider SRV records
I've also created an issue at Ewpratten/mcq#2 since I am unsure about where should this be addressed. Thank you.
root@5e341eec17c5:/# mcq skyblock.net thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: FailedToConnect', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mcquery-1.1.0/src/main.rs:37:56 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace root@5e341eec17c5:/# dig _minecraft._tcp.skyblock.net. SRV IN @1.1.1.1 ; <<>> DiG 9.16.27-Debian <<>> _minecraft._tcp.skyblock.net. SRV IN @1.1.1.1 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5133 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;_minecraft._tcp.skyblock.net. IN SRV ;; ANSWER SECTION: _minecraft._tcp.skyblock.net. 120 IN SRV 0 0 25565 server.skyblock.net. ;; Query time: 10 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) ;; WHEN: Tue Sep 20 09:05:15 UTC 2022 ;; MSG SIZE rcvd: 96 root@5e341eec17c5:/# mcq server.skyblock.net Minecraft BungeeCord 1.8.x-1.19.x 115 / 750 players online - §a§lSkyblock §8| §fskyblock.net - §6§l[ §e1.8 - 1.19 §6§l] - §a - §fTwitter: §b@Skyblock - §fStore: §ashop.skyblock.net - §fForums: §dwww.skyblock.net - §fDiscord: §6discord.gg/sb - §a - §e§oThe home of Skyblock root@5e341eec17c5:/#
The current implementation doesn't consider SRV records
I've also created an issue at Ewpratten/mcq#2 since I am unsure about where should this be addressed. Thank you.