Solved

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

Posted on 2009-03-30
4
978 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 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