<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HTTP Client + W5500 on nRF5340: Works with IP but fails with domain names (DNS resolution fails)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126238/http-client-w5500-on-nrf5340-works-with-ip-but-fails-with-domain-names-dns-resolution-fails</link><description>Hi everyone, 
 I’m trying to use the HTTP client sample from NCS v3.0.2 with a W5500 Ethernet shield on an nRF5340. DHCP works fine, and I can successfully POST and GET using IP addresses. However, when I try to use domain names , DNS resolution fails</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jan 2026 13:31:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126238/http-client-w5500-on-nrf5340-works-with-ip-but-fails-with-domain-names-dns-resolution-fails" /><item><title>RE: HTTP Client + W5500 on nRF5340: Works with IP but fails with domain names (DNS resolution fails)</title><link>https://devzone.nordicsemi.com/thread/558035?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 13:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e3a8161-c810-46b9-8946-20de4068de1a</guid><dc:creator>Haris Iqbal</dc:creator><description>&lt;p&gt;Got it fixed by following the https_client sample code. Thanks for the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTP Client + W5500 on nRF5340: Works with IP but fails with domain names (DNS resolution fails)</title><link>https://devzone.nordicsemi.com/thread/557657?ContentTypeID=1</link><pubDate>Mon, 29 Dec 2025 11:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0aa4be6-eed3-48ee-b95f-f1fda1c603a8</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you try to reach out to zephyr community for support? This driver is not developed by us.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTP Client + W5500 on nRF5340: Works with IP but fails with domain names (DNS resolution fails)</title><link>https://devzone.nordicsemi.com/thread/557581?ContentTypeID=1</link><pubDate>Tue, 23 Dec 2025 12:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19fcdc63-c7d2-474c-a22e-501f1871c4b8</guid><dc:creator>Haris Iqbal</dc:creator><description>&lt;p&gt;W5500 is at very low level, The libraries from NCS are handling it. So this doesn&amp;#39;t seem to be an issue with the W5500.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the http_client sample code combined with dhcpv4_client sample. The dhcpv4 client gets an IP assigned from the DHCP server (router in my case). The http_client sample uses that IP address (managed at the backend by ncs/zephyr libraries) to connect to an http server. When I use the IP address of the server, like 142.250.202.14, the socket is opened and http connection is created (verified through logs) and the HTTP GET request is successfully sent, response is received. But when I use domain name like google.com to try to connect the socket, it fails with the error mentioned above -106.&lt;/p&gt;
&lt;p&gt;Although I have set up the DNS resolver in the prj.conf (already shared in the post) of my project, seems like the DNS resolver is unable to resolve the Domain name.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the sample code from:&lt;/p&gt;
&lt;p&gt;zephyr/samples/net/dhcpv4_client&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zephyr/samples/net/http_client&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTTP Client + W5500 on nRF5340: Works with IP but fails with domain names (DNS resolution fails)</title><link>https://devzone.nordicsemi.com/thread/557519?ContentTypeID=1</link><pubDate>Mon, 22 Dec 2025 12:30:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f739b27a-8578-473b-a843-de6fce8aa1b2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sounds to me that all sockets are taken yes (&lt;code&gt;-106&lt;/code&gt;&lt;span&gt;&amp;nbsp;(ENOBUFS, no free sockets) or&amp;nbsp;&lt;/span&gt;&lt;code&gt;-101&lt;/code&gt;&lt;span&gt;&amp;nbsp;(EALREADY)).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Not sure I have any good suggestion here other than possible look at existing examples that use the W5500 if they have any pointers. You may also need to reach out the the zephyr community or W5500 support for help in case they have any suggestions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>