Hi,

Thanks. I will have a look at it. I bought this netgear wireless adapter that 
does this and traced the packets with Wireshark. It was a DNS query from the PC 
and then a reply from the device. 2 packets at most but I need to investigate 
further.

Regards,
Nick

From: Bastien Allibert 
Sent: Sunday, April 07, 2013 9:30 PM
To: Mailing list for lwIP users 
Cc: Mailing list for lwIP users 
Subject: Re: [lwip-users] DNS query

Hi Nick,

If you connect direction a PC to the embedded system, unless your PC is DHCP 
server, your board won't get an IP. What i would use in your case is AUTOIP 
(this is supported in lwip). Then, in order to address your board using DNS 
names, again, if no DNS server is available on your PC, i suggest you to have a 
look at multicast DNS ( this one is not currently supported in lwip AFAIK, 
you'll have to develop it).
Both of these standards are part of Zeroconf suit, you may be interested to 
have a look...

regards,
Bastien


Le 7 avr. 2013 à 13:08, "Nikolas Karakotas" <nkarako...@myweather.gr> a écrit :


  Hi,

  This is the situation: User connects PC to embedded system. And to access it 
instead of typing in an IP the user types in a domains name.
  I have setup my embedded device to use DHCP. I would like to when a user 
types in a domain name of : www.mydevice.com the dns query should return the 
devices IP.
  How can I map a domain name to an IP?

  Regards,
  Nick
  _______________________________________________
  lwip-users mailing list
  lwip-users@nongnu.org
  https://lists.nongnu.org/mailman/listinfo/lwip-users


--------------------------------------------------------------------------------
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to