':return: All IP addresses for this domain.'

def _get_ip_addresses(self, domain):

    try:
        addrinfo = socket.getaddrinfo(domain, 0)
    except:
        om.out.error(('Failed    to    resolve    address:    "%s"' % domain))
        return []
    ip_address_list = [info[4][0] for info in addrinfo]
    ip_address_list = list(set(ip_address_list))
    return ip_address_list
