getHostName() returning IP with DNS Suffix

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

  1. Offline

    dark navi

    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:
    c-67-183-61-27.hsd1.wa.comcast.net
    Any ideas?
  2. Offline

    Njol

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

    This post has been edited 3 times. It was last edited by Njol Mar 18, 2012.

Share This Page