Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

DNS functions


  • Please log in to reply
3 replies to this topic

#1 stacyh3

stacyh3

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 01 October 2010 - 12:04 AM

I'm trying out the DNS features and seeing the following. Dns.GetHostEntry("www.microsoft.com") works fine and seems to return the right address. Dns.GetHostEntry("mymachine") and Dns.GetHostEntry("myfullmcahine.company.blah.blah") returns the wrong IP address. I'll keep trying... Stacy

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 October 2010 - 03:26 AM

Hi Stacy, Interesting. In desktop .NET, does Dns.GetHostEntry("mymachine") resolve the IP address of local machines against a DNS server--or does it discover the local machines in another way? Chris

#3 stacyh3

stacyh3

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 01 October 2010 - 12:50 PM

Hi Stacy,

Interesting. In desktop .NET, does Dns.GetHostEntry("mymachine") resolve the IP address of local machines against a DNS server--or does it discover the local machines in another way?

Chris


Good question. I'll take a look to see what the code is doing on the desktop. I'm on Amtrak right now and tethered to my phone, so it'll be a while. Maybe I'll shoot an email to one of our networking guys.

Stacy

#4 stacyh3

stacyh3

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 01 October 2010 - 01:04 PM

There's a long thread here that might give a clue: Dns.GetHostEntry functionality
Stacy




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.