A simple test of gethostbyname()