Sorry, it’s not the DNS that is failing. It is the DHCP. I can’t figure out what would make it fail. I extended the timeout to 2 minutes and it still fails.
The strange thing is that it worked a few times, but just stopped.
It seems to be stalling at this line in the Ethernet.cpp file in the library:
W5100.setIPAddress(IPAddress(0,0,0,0).raw_address());