[GH-ISSUE #483] lwIP 2.0 and static IP - DNS issues #403

Open
opened 2026-02-28 01:25:08 +03:00 by kerem · 2 comments
Owner

Originally created by @mdhiggins on GitHub (Jan 10, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/483

Using the new 2.4.0 ESP8266 Arduino release, the default lwIP settings were changed from 1.4 to 2.0

2.0 seems to introduce problems with DNS resolution when using static IP address settings

No DNS requests seem to work on 2.0 (though you can manually do a WiFi.config() and include the DNS server information

Additionally, after initial setup and inputting the static information if you try to active any DNS servers (such as mDNS, or ArduinoOTA) you get an Exception 28 error and the device reboots. Those services will work after rebooting if not running the initial configuration page however

Reverting to lwIP 1.4 resolves all these issues

Originally created by @mdhiggins on GitHub (Jan 10, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/483 Using the new 2.4.0 ESP8266 Arduino release, the default lwIP settings were changed from 1.4 to 2.0 2.0 seems to introduce problems with DNS resolution when using static IP address settings No DNS requests seem to work on 2.0 (though you can manually do a `WiFi.config()` and include the DNS server information Additionally, after initial setup and inputting the static information if you try to active any DNS servers (such as mDNS, or ArduinoOTA) you get an Exception 28 error and the device reboots. Those services will work after rebooting if not running the initial configuration page however Reverting to lwIP 1.4 resolves all these issues
Author
Owner

@tablatronix commented on GitHub (Jan 11, 2018):

Can you confirm on staging as well?
I have been using this release gor a while and have not noticed this, i did see some lwip regressions though in the repo.

Do you have an example sketch to test?
Do you know of any issues references?

<!-- gh-comment-id:356798431 --> @tablatronix commented on GitHub (Jan 11, 2018): Can you confirm on staging as well? I have been using this release gor a while and have not noticed this, i did see some lwip regressions though in the repo. Do you have an example sketch to test? Do you know of any issues references?
Author
Owner

@tablatronix commented on GitHub (Jan 11, 2018):

https://github.com/esp8266/Arduino/issues/4078

<!-- gh-comment-id:356799680 --> @tablatronix commented on GitHub (Jan 11, 2018): https://github.com/esp8266/Arduino/issues/4078
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#403
No description provided.