Closed NameOfTheDragon closed 9 years ago
Thank you for letting us know about this. The DNS timeout was set to Infinite, and has now been changed to 5 seconds per DNS server query (with failover to secondary DNS servers).
This is fixed for the Netduino.IP v1.0.1 release.
When multiple DNS servers are specified and the first server in the list is unreachable (e.g. it is offline) then DNS lookup fails instead of trying the next server.
Expected result: All DNS servers in the list should be tried before throwing an exception.
A
SocketException
is thrown whenpool.ntp.org
fails to resolve on the first server, which was turned off. The second server in the list is the ADSL router and was available and working at the time. Other hosts on the network were able to successfully resolvepool.ntp.org
.