lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] DNS Client in lwIP


From: Emil Ljungdahl
Subject: Re: [lwip-users] DNS Client in lwIP
Date: Tue, 19 Apr 2011 17:28:40 +0200

> -----Ursprungligt meddelande-----
> Från: address@hidden [mailto:lwip-
> address@hidden För Kieran Mansley
> Skickat: den 19 april 2011 16:08
> Till: Mailing list for lwIP users
> Ämne: Re: [lwip-users] DNS Client in lwIP
> 
> On Tue, 2011-04-19 at 15:58 +0200, Walter Saegesser wrote:
> >
> > -          what is to be expected as the result of the action. I
> fancy
> > that the DNS server, the one provided by DHCP, should make an entry
> in
> > its table with the name and ip given and that henceforth an URL of
> > http://MyDevice in the browser should be redirected to
> > 172.xxx.xxx.xxx.
> 
> No, that's not right.  The gethostbyname function will lookup a name in
> the DNS server's table, not add an entry to the table.  You need some
> thing to update the DNS server but we don't package anything like that
> with lwIP, as it's effectively an application rather than part of the
> network stack and I think it will be dependent on the DNS server you're
> using.
> 
> Kieran
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users

Walter: If you are using an external DHCP-server that is able to post
updates to another external DNS-server your are safe. The hostname of the
lwIP-host should be communicated in the DHCP-negotiation and thus the
DHCP-server is able to update the DNS-server. Try for example dnsmasq (which
is both a DHCP-server and a simple DNS-server).

Best regards
Emil Ljungdahl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]