yangyang
Fork of WIZnetInterface by
Diff: Socket/DNSClient.cpp
- Revision:
- 32:26fc4b6c5784
- Parent:
- 0:6f28332c466f
diff -r f6a5f6d1978b -r 26fc4b6c5784 Socket/DNSClient.cpp --- a/Socket/DNSClient.cpp Fri Nov 04 12:09:25 2016 +0000 +++ b/Socket/DNSClient.cpp Wed Nov 09 09:23:14 2016 +0000 @@ -113,7 +113,7 @@ m_udp->init(); m_udp->set_blocking(false); Endpoint server; - server.set_address("8.8.8.8", 53); // DNS + server.set_address("223.5.5.5", 53); // DNS m_udp->bind(rand()&0x7fff); uint8_t buf[256]; int size = query(buf, sizeof(buf), hostname);