promotional bannermobile promotional banner

Fast IP Ping

Yeet the laggy reversed DNS lookup for literal IP server addresses

pinging

Yeet the laggy reversed DNS lookup for literal IP server addresses

Extracted from the yeetServerIpReversedDnsLookup option in TweakerMore Mod

What & Why & How

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.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

Environment

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

The Fast IP Ping Team

profile avatar
  • 26
    Followers
  • 13
    Projects
  • 46.3M
    Downloads

More from Fallen_BreathView all

  • Carpet TIS Addition project image

    Carpet TIS Addition

    • 661.9K
    • Mods

    A carpet mod extension with more features

    • 661.9K
    • April 26, 2026
    • Mods
    • +2
  • Pistorder project image

    Pistorder

    • 1.3M
    • Mods

    A mod that shows the block movement order of a piston

    • 1.3M
    • April 17, 2026
    • Mods
  • WorldEdit Hang Fix project image

    WorldEdit Hang Fix

    • 200.9K
    • Mods

    A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

    • 200.9K
    • April 17, 2026
    • Mods
  • Let Me Click And Send project image

    Let Me Click And Send

    • 19.4K
    • Mods

    A simple Minecraft client-side mod, that reverts the `run_command` click event restriction introduced in 1.19.1-rc1, so non-command messages can be sent freely via `run_command` click event again

    • 19.4K
    • April 16, 2026
    • Mods
  • Carpet TIS Addition project image

    Carpet TIS Addition

    • 661.9K
    • Mods

    A carpet mod extension with more features

    • 661.9K
    • April 26, 2026
    • Mods
    • +2
  • Pistorder project image

    Pistorder

    • 1.3M
    • Mods

    A mod that shows the block movement order of a piston

    • 1.3M
    • April 17, 2026
    • Mods
  • WorldEdit Hang Fix project image

    WorldEdit Hang Fix

    • 200.9K
    • Mods

    A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

    • 200.9K
    • April 17, 2026
    • Mods
  • Let Me Click And Send project image

    Let Me Click And Send

    • 19.4K
    • Mods

    A simple Minecraft client-side mod, that reverts the `run_command` click event restriction introduced in 1.19.1-rc1, so non-command messages can be sent freely via `run_command` click event again

    • 19.4K
    • April 16, 2026
    • Mods