<?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>Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124584/custom-dns-set-on-sdk-3-1</link><description>Hi, 
 
 We have a client using one of our products, and their local NB-IoT network was giving us some issues, I travelled over to try and work out what was going on, and it was to do with the network not have DNS server, so it couldn&amp;#39;t resolve server</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Oct 2025 05:08:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124584/custom-dns-set-on-sdk-3-1" /><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/552408?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2025 05:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c96ae9b8-bfb0-440f-840c-33b6ac89b3e0</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Great, that does sound like it should be a solution.&lt;/p&gt;
&lt;p&gt;You can also find some documentation on that here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/libraries/modem/lte_lc.html"&gt;https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/libraries/modem/lte_lc.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/552054?ContentTypeID=1</link><pubDate>Tue, 21 Oct 2025 11:19:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d8f2d64-d9db-48ad-bd87-fc3288e2fc56</guid><dc:creator>DamoL</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Whilst searching for something else I stumbled across these Config options&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_LTE_LC_DNS_FALLBACK_MODULE=y
CONFIG_LTE_LC_DNS_FALLBACK_ADDRESS=&amp;quot;8.8.8.8&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I look at the LTC_LC Debug, I see&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;dbg&amp;gt; lte_lc: dns_fallback_set: Fallback DNS address successfully set to 8.8.8.8&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So I am assuming it works in the same way as the old fix.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;However, as it&amp;#39;s a fallback I cannot test whether this does fix the problem with certain networks, and I don&amp;#39;t think I&amp;#39;ll be able to convince my boss to give me a free holiday again.&amp;nbsp;&lt;br /&gt;I will try and get a test board sent over to our customer over there and see if they can test it for us.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/550580?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 11:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72fd4fc2-40ce-470a-815b-9fd9d2c6dc96</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Maybe you could check using Cellular Monitor and Wireshark if a test device is communicating with a chosen DNS server?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/550494?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 13:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f60cd8d0-e303-42ce-8619-2d0ad7c387c7</guid><dc:creator>DamoL</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Well I can try and work out why it is failing there, and if I do I will update this thread. However, I am not sure how I would test that it works. The only network I know of that has the DNS issue is a 1 hour plane journey away, so ideally I need a way to ensure it works before pushing FW updates to units on that network. Do you know of a way I can test this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/550493?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 13:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f58b3ba6-227d-4e85-b919-47e5ed603e3f</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome.&lt;/p&gt;
&lt;p&gt;Does that mean you&amp;#39;re fine on your own, or anything more I should look into here?&lt;/p&gt;
&lt;p&gt;And of course, if you have any more questions, please just ask us on DevZone. We&amp;#39;re here to help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/550444?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 09:03:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4019c4-c3c1-4772-b480-d286064fe36c</guid><dc:creator>DamoL</dc:creator><description>&lt;p&gt;Thanks Michal,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=y
CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1=&amp;quot;8.8.8.8&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After a bit of searching I found that this configuration builds with a 9160, and when I debug, it gets to this function in zephr/subsys/net/lib/dns/resolve.c&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;dns_resolve_init_default&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;dns_resolve_get_default&lt;/span&gt;&lt;span&gt;());&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;But it gets a -13 error (&lt;/span&gt;&lt;/span&gt;EACCES - permission denied)&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I will keep looking into it.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;Damien&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DNS Set on SDK 3.1</title><link>https://devzone.nordicsemi.com/thread/550386?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 14:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bd84730-02d6-4d67-9684-3bcacd42e243</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Damien,&lt;/p&gt;
&lt;p&gt;You could maybe try&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_DNS_SERVER_IP_ADDRESSES"&gt;&lt;span&gt;CONFIG_DNS_SERVER_IP_ADDRESSES&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>