适用于 Minecraft 1.20.1, 1.21.1 的 Fast IP Ping 模组
消除针对字面 IP 服务器地址的卡顿反向 DNS 查询
关于 Fast IP Ping 模组

对以字面 IP 表示服务器地址的服务器,跳过卡顿的反向 DNS 查询
提取自 TweakerMore 模组中的 yeetServerIpReversedDnsLookup 选项
是什么 & 为什么 & 怎么做
对于地址仅由字面 IP 表示的服务器,例如 192.168.2.10:25565,在对应的 InetAddress 对象中禁用反向 DNS 查询
许多非环回 IP 没有关联的域名,这会导致反向查询非常耗时
// java.net.InetAddressgetHostName(boolean) String getHostName(boolean check) { if (holder().getHostName() == null) { // 如果 InetAddress.getByName() 接收到的是字面 IP,它将为 null holder().hostName = InetAddress.getHostFromNameService(this, check); // <-- 耗时极长 } return holder().getHostName(); }
此选项会将这些服务器的域名直接设置为其 IP,从而绕过反向 DNS 检查
对于使用字面 IP 地址的服务器,这可以将时间缩短 1 秒至 5 秒。影响以下环境:
- 在服务器列表界面中 ping 服务器
- 连接到服务器
环境
- 仅客户端
- Fabric / Forge / NeoForge 模组加载器。无需额外要求
如何安装 Fast IP Ping
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16.4–26.2 on Fabric, Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 26.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file fast-ip-ping-v1.0.11-mc26.1.2.jar (11 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Fast IP Ping should be in the list.
Fast IP Ping works on the player’s side only: there is no need to install it on a server.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.21.11 | NeoForge | 1.21.1110.2 KB 6 | ||
| 1.21.4 | NeoForge | 1.21.410.2 KB 1 | ||
| 1.21.10 | NeoForge | 1.21.1010.2 KB 3 | ||
| 1.21.5 | NeoForge | 1.21.510.2 KB | ||
| 1.21.8 | NeoForge | 1.21.810.2 KB | ||
| 1.21.3 | NeoForge | 1.21.310.2 KB | ||
| 1.21.1 | NeoForge | 1.21.110.2 KB 12 | ||
| 1.20.6 | NeoForge | 1.20.610.2 KB |
常见问题
Which Minecraft versions does Fast IP Ping work on?
There are files for 1.16.4–26.2, 31 versions in total. The newest is 26.2.
Is Fast IP Ping for Forge or Fabric?
There are files for Fabric: 26.1–26.2, for Forge: 1.16.4–26.2 and for NeoForge: 1.20.5–26.2.
Does Fast IP Ping need other mods?
The author lists no required dependencies: the Fabric, Forge or NeoForge loader is enough.
Do I need to install Fast IP Ping on a server?
No. Fast IP Ping works on the player’s side only: there is no need to install it on a server.
Where can I download Fast IP Ping safely?
On this page: the file fast-ip-ping-v1.0.11-mc26.1.2.jar (11 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 6b69eaa6323da9f7933206d55cdb09ea3299cde3.
评价
成为第一个评价 Fast IP Ping 的人


