Reverse DNS function HELP VB.NET!!!

halo15

New Member
Heres the Code so far what i need to do is change an ip address to the hostname then make sure its changed from www.hostname.com to hostname.com. 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
 
Back
Top