Solved

Why the item (0) of System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList is "::1"?

Posted on 2009-03-30
4
974 Views
Last Modified: 2012-05-06
Somebody knows why in my PC the first item (0) of System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList has "::1" for value?
Thanks..

For Each theIP As System.Net.IPAddress In System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList
            Dim theIPString = theIP.ToString
Next

Open in new window

0
Comment
Question by:bobdylan75
  • 2
4 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24016738
are your PC part of domain system? or are you working in stand alone pc?
0
 
LVL 18

Expert Comment

by:carlnorrbom
ID: 24016791
Hi,

An unassigned IPv6 address?

/Carl.
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 500 total points
ID: 24016849
that is why it is behaving like this. you can have a look at following URL. it will show you the way how to treat if there is IPv6

http://msdn.microsoft.com/en-us/library/system.net.ipaddress.aspx

http://www.daniweb.com/forums/thread168515.html
0
 

Author Comment

by:bobdylan75
ID: 24018427
Sorry, I explain better the situation:
In item(0) value is ::1
in item(1) value (correct) is 192.168.1.33
No, I'm not in a domain.
I'm connected by dhcp to a router.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question