[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #8692] Fix for assertion fails in dns.c if no DNS se
From: |
Sylvain Rochet |
Subject: |
[lwip-devel] [patch #8692] Fix for assertion fails in dns.c if no DNS server is configured |
Date: |
Mon, 22 Jun 2015 12:29:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1 |
Follow-up Comment #3, patch #8692 (project lwip):
Hello Jan,
On Mon, Jun 22, 2015 at 12:35:10PM +0200, Jan Breuer wrote:
> Hi Sylvain,
> your proposal is not a solution. Not for all cases.
Yes, I know ;-)
> I have discovered this behaviour also in common Ethernet network where the
> user can set all network parameters of the device including DNS. Setting
> DNS to 0.0.0.0 is still valid operation - disable DNS functionality at
> runtime - and all calls to dns_gethostbyname should return "not found". It
> don't mind, if we are in PPP, Ethernet with static address or we have
> address assigned by DHCP which does not tell us DNS server.
That's a very valuable input. I expected lwIP users (i.e. developers) to
never switch back to ANY for all DNS servers and I actually considered
what I did in PPP stack a mistake.
You are right, users of lwIP users (i.e. customers) might be able to set
up DNS server to NULL in order to configure their device to -never- try
name resolution, for example in a closed network without DNS support.
It pushes forward into applying Michael patch which consider all cases
instead of applying my patch to "fix" the PPP stack.
Sylvain
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8692>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/