'Get own host names of self'

@staticmethod
def getSelfNames():

    key = ('self', 'dns')
    names = DNSUtils.CACHE_ipToName.get(key)
    if (names is None):
        names = (set(['localhost', DNSUtils.getHostname(False), DNSUtils.getHostname(True)]) - set(['']))
    DNSUtils.CACHE_ipToName.set(key, names)
    return names
