WIZnet Developer Forum

Resolve internet address and connect to that webserver

How do I resolve the address for example: www.google.com from w5100 and convert it to IP to which I can make TCP connection ?
Is that even possible when socket accept only destination IP address.


I guess this would be my answer: ietf.org/rfc/rfc1035.txt
I need to implement DNS client to send request to DNS port 53 with name of server and get response as an IP address… :frowning:
I kinda hopped it would be implemented on uC level :wink:

You go here http://www.wiznet.co.kr/product-item/w5100/, scroll down the page, and download archive with application notes how to implement DHCP, DNS and other stuff.

Thanks Eugeny. Thats more or less digestible version of RFC :slight_smile: just the important part, package definition

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.