Now taking IPv6 addresses into account.