Modified server2 to take a hostname to find the nameserver