<?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>nRF9160 - mfw 1.3.7 - NCS 3.2.4 - DNS lookup fails with some SIM cards using cloudflare</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128165/nrf9160---mfw-1-3-7---ncs-3-2-4---dns-lookup-fails-with-some-sim-cards-using-cloudflare</link><description>nRF9160 - mfw 1.3.7 - NCS 3.2.4 In my experience, DNS lookup fails with some SIM cards using cloudflare as primary DNS. I wrote to the SIM card provider about that issue and get the following answer: ##########################################################</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2026 14:51:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128165/nrf9160---mfw-1-3-7---ncs-3-2-4---dns-lookup-fails-with-some-sim-cards-using-cloudflare" /><item><title>RE: nRF9160 - mfw 1.3.7 - NCS 3.2.4 - DNS lookup fails with some SIM cards using cloudflare</title><link>https://devzone.nordicsemi.com/thread/566537?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 14:51:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c7f8b1-e523-4d5d-90bf-c286ee3af1f9</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for detailed description. Your understanding of the fallback DNS is correct and since your SIM actively provides 1.1.1.1 as the primary DNS, setting CONFIG_LTE_LC_DNS_FALLBACK_ADDRESS=&amp;quot;8.8.8.8&amp;quot; will have no effect on normal lookups, as it applies when the network provided DNS is missing. There&amp;nbsp;seems no supported API to replace operator provided DNS servers while using the modem&amp;#39;s offloaded getaddrinfo().&amp;nbsp;However you may try following options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Try sending a raw DNS query over UDP directly to 8.8.8.8 using a normal offloaded UDP socket, bypassing the modem&amp;#39;s DNS client entirely. This does not require disabling socket offloading and avoids the truncation issue. You can implement a retry, try 1.1.1.1 first and fall back to 8.8.8.8 if it fails.&lt;/li&gt;
&lt;li&gt;Moreover it could be possible to use&amp;nbsp;Zephyr&amp;#39;s native DNS resolver with a specific server in principle but may it will not be a straight forward or a recommended option.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And it seems logical that&amp;nbsp;a 86 byte response would not normally trigger truncation. To check&amp;nbsp;what happens on failure, can you share&amp;nbsp;modem trace. Thanks&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 - mfw 1.3.7 - NCS 3.2.4 - DNS lookup fails with some SIM cards using cloudflare</title><link>https://devzone.nordicsemi.com/thread/566492?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 05:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b2d3950-cf29-4a14-b66a-8c5227225d53</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Follow up question:&lt;/p&gt;
&lt;p&gt;Is it possible, to not use the &amp;quot;off-loading&amp;quot; just for the&amp;nbsp;&amp;nbsp;getaddrinfo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>