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());
It is failing DHCP in all the sketches I’ve tried. Then it uses an IP that I assigned within the range, but it doesn’t connect.
IP – 192.168.2.177 (assigned in software, not by gateway)
Gateway – 192.168.2.1
Netmask – 255.255.255.0
DNS Server – 192.168.2.1
Does this look correct? What would make the DNS fail? The WebClient sketch worked a few times, then it stopped.
Thanks