getHostName() returning IP with DNS Suffix

Discussion in 'Plugin Development' started by dark navi, Mar 18, 2012.

  1. Offline

    dark navi

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey guys, I am trying to match IPs here and for some reason getHostName() is returning strings like this:
    Code (Text):
    1. c-67-183-61-27.hsd1.wa.comcast.net
    Any ideas?
     
  2. Offline

    Njol

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

Share This Page