'Get own IP addresses of self'

@staticmethod
def getSelfIPs():

    key = ('self', 'ips')
    ips = DNSUtils.CACHE_nameToIp.get(key)
    if (ips is None):
        ips = set()
        for hostname in DNSUtils.getSelfNames():
            try:
                ips |= set(DNSUtils.textToIp(hostname, 'yes'))
            except Exception as e:
                logSys.warning('Retrieving    own    IPs    of    %s    failed:    %s', hostname, e)
    DNSUtils.CACHE_nameToIp.set(key, ips)
    return ips
