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" <[email protected]> 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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to