Heres the Code so far what i need to do is change an ip address to the hostname then make sure its changed from to Im stuck on the changing the domain to a second level domain. heres my code so far.<BR><BR> <BR>Public Shared Function domaincheck(ByVal IP As IPAddress) As String()<BR> Dim dnsHost As New IPHostEntry()<BR> dnsHost = Dns.GetHostByAddress(IP) <BR><BR> End Function