swap gethostbyaddr to gethostbyname (RDNS)