Fast IP Ping

Yeet the laggy reversed DNS lookup for literal IP server addresses

Редакция NLZONE · 1 мин чтения · 3 просмотра
Fast IP Ping
Скачать Fast IP Ping1.14.4 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Yeet the laggy reversed DNS lookup for literal IP server addresses

  • Тип: мод
  • Загрузчик: fabric, forge, neoforge
  • Версии Minecraft: 1.14.4 – 26.3
  • Скачиваний на Modrinth: 26 156 960

Подробно

Yeet the laggy reversed DNS lookup for literal IP server addresses

Extracted from the yeetServerIpReversedDnsLookup option in TweakerMore Mod

For servers whose addresses are represented solely by a literal IP, e.g. 192.168.2.10:25565, disable reverse DNS lookups in the corresponding InetAddress object

Many non-loopback IPs lack associated domain names, which makes reverse lookups time-consuming

java // java.net.InetAddress#getHostName(boolean) String getHostName(boolean check) { if (holder().getHostName() == null) { // It will be null if InetAddress.getByName() received a literal IP holder().hostName = InetAddress.getHostFromNameService(this, check); // <-- takes forever } return holder().getHostName(); }

This option sets the domain of those servers directly to their IP, bypassing the reverse DNS check

This results in a 1s ~ 5s reduction in time for servers with literal IP address. Affects the following environments:

- Pinging the server in the server list screen - Connecting to the server

- Client-side only - Fabric / Forge / NeoForge mod loader. No extra requirement is needed

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также