<?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>serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84121/serial_lte_modem-dns-resolution-issues</link><description>Hey all, 
 So I have been having inconsistent issues connecting to different domains, and after getting the debugger working it appears to be a DNS resolution issue and it never even tries to connect 
 All I really want is to change the DNS server the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jan 2022 10:12:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84121/serial_lte_modem-dns-resolution-issues" /><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/350383?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 10:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6442a24-8674-48ac-aad6-01c6955e2a66</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Ok, let&amp;#39;s move our discussion to another ticket. Before this, I can answer some of your confusion.&lt;/p&gt;
&lt;p&gt;1）The LTE-4G/5G used by mobile phone is different from LTE-M/NB-IoT(they are also different),&amp;nbsp;one area may be covered by the mobile network, but not&amp;nbsp;&lt;span&gt;LTE-M/NB-IoT, so the signal strength cannot be used as a reference for each other.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2)&amp;nbsp;MFW= Modem Firmware, the least is mfw_nrf9160_1.3.1 and can be downloaded from&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/nRF9160/Download#infotabs"&gt;nRF9160 SiP modem firmware.&lt;/a&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3)&lt;/span&gt;&lt;/p&gt;
[quote user="Mr.Newlove"]is there any way to tell the modem it can use more power to get a stable connection?[/quote]
&lt;p&gt;&lt;span&gt;No, generally speaking, the cell station decides the power.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/350319?ContentTypeID=1</link><pubDate>Sun, 30 Jan 2022 07:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f79b4273-5144-41c1-8406-eddb6eb76b8b</guid><dc:creator>Mr.Newlove</dc:creator><description>&lt;p&gt;Maybe we should just continue the conversation on the other thread since this is just pointless now, my connection to the network is very good now and its just AT command problems now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/350305?ContentTypeID=1</link><pubDate>Sat, 29 Jan 2022 09:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:537888fa-7568-4b75-b879-cfe6049d6aa8</guid><dc:creator>Mr.Newlove</dc:creator><description>&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; I have been comparing my board and the nRF9160 DK and I am thinking maybe my problems are related to signal strength?&lt;/p&gt;
&lt;p&gt;Both the DK and my board are getting: RSRQ: -12.50db RSRP: -109.00db&lt;/p&gt;
&lt;p&gt;But my LTE phone right beside the modem is getting -108 dB 33 asu&lt;/p&gt;
&lt;p&gt;Connection feel unstable sometimes, taking 3s-8s to get a network lock sometimes and sometimes sits there for longer than 120s and still returning +CEREG: 0,4&lt;/p&gt;
&lt;p&gt;I bought a cell booster, now my cellphone is reading -78 dBm 62 asu&lt;/p&gt;
&lt;p&gt;And the DK and my board reading: RSRQ: -10.50db RSRP: -63.00db&lt;/p&gt;
&lt;p&gt;Its slightly more reliable but still not great.&lt;/p&gt;
&lt;p&gt;2. I tried 3 completely different providers and the one I am using right now is by far the most reliable. I live in a city of ~200k in Canada and I don&amp;#39;t really have coverage issues with my phone on the same network.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt; I am not sure what you mean by MFW, but I am compiling the serial_lte_modem example with 1 modification made to my overlay file to change serial port/output pins. Right now that is v1.8.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But yea, is there any way to tell the modem it can use more power to get a stable connection?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/350201?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 12:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3ab1841-f748-48cf-a762-b1610b227cec</guid><dc:creator>Charlie</dc:creator><description>[quote user="Mr.Newlove"]Is there some way I can provide an example to test with but not be publicly visible?[/quote]
&lt;p&gt;You can create a private ticket to share confidential content.&lt;/p&gt;
[quote user="Mr.Newlove"]Both of these issues started at the same time, everything was working fine in SDK 1.7.1, but even flashing back to that version no longer works.[/quote]
&lt;p&gt;I have&amp;nbsp;three suggestions to help you debug this issue:&lt;/p&gt;
&lt;p&gt;1. You a different Hardware as a comparison. The official nRF9160DK can be a good choice. You should have at least 2 boards for comparison testing.&lt;/p&gt;
&lt;p&gt;2. Try to use Cellular IoT service from a different opearer.&lt;/p&gt;
&lt;p&gt;3. Check if your MFW is updated. It is always encouraged to develop with the latest MFW + NCS.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/350114?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 08:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98ce9ef4-0c9c-4e54-84cb-6be2c7388f08</guid><dc:creator>Mr.Newlove</dc:creator><description>&lt;p&gt;Guess it isn&amp;#39;t the DNS server then, responds quickly with a nslookup with no errors ever. So maybe its on the nRF9160 things on going wrong.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So the specific error that ends up happening is &amp;quot;Failed to parse remote host&amp;quot; for ftp. I assume it is a similar issue going on with the HTTP lib though, because I can connect to most servers, but then I don&amp;#39;t get any data back.&lt;/p&gt;
&lt;p&gt;Is there some way I can provide an example to test with but not be publicly visible?&lt;/p&gt;
&lt;p&gt;Mostly, the HTTP client can connect to almost any server no problem and I can request &amp;quot;/&amp;quot; just fine over 99% of the time. But if I request anything else, even &amp;quot;/test.txt&amp;quot; I don&amp;#39;t get anything back, just a&amp;nbsp; #XHTTPCCON: 1 and #XHTTPCRSP:0,1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Both of these issues started at the same time, everything was working fine in SDK 1.7.1, but even flashing back to that version no longer works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/349957?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 11:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bc1940-e520-490e-9512-18a02efce0e1</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Kyle,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The DNS server is normally assigned by the local network directly, and it is optimized&amp;nbsp;by your network operator to&amp;nbsp;get fast DNS resolution. We did not see similar complaints before, so the AT commands do not even provide the option for self-assigned DNS now.&lt;/p&gt;
&lt;p&gt;There are&amp;nbsp;three reasons that may cause the FTP connection error:&lt;/p&gt;
&lt;p&gt;1. Please check your device has internet access after “AT+CFUN=1”, it may take time to connect with PDN even you have an LTE connection.&lt;/p&gt;
&lt;p&gt;2. If your domain is newly set up, it may take time to let it be informed by root DNS servers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. You&amp;nbsp;may&amp;nbsp;be on the edge of the cellular network, the signal quality is poor, so the internet connection is bad.&lt;/p&gt;
&lt;p&gt;With the following commands, your can get your PDN information including DNS address then you can test on your computer to see if they can resolve your target domain. Here is the result from my device:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;+CFUN: 1
OK
AT+CGPADDR

+CGPADDR: 0,&amp;quot;10.160.225.xxx&amp;quot;
OK
AT+CGCONTRDP=0

+CGCONTRDP: 0,,&amp;quot;ibasis.iot&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;62.93.146.xxx&amp;quot;,&amp;quot;216.168.184.xxx&amp;quot;,,,,,1430
OK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial_lte_modem DNS resolution issues</title><link>https://devzone.nordicsemi.com/thread/349921?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 10:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d734407e-27f8-4562-8d6b-3eb247d9880a</guid><dc:creator>Mr.Newlove</dc:creator><description>&lt;p&gt;Another odd thing, that kinda confirms it being entirely a DNS problem. I didn&amp;#39;t know this would work but I tried to convert the IP into a number and passed that instead of a domain and that worked, and oddly enough it seems to fix the DNS lookup for a short while as well?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ie:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT#XFTP=&amp;quot;open&amp;quot;,&amp;quot;******username********&amp;quot;,&amp;quot;*******password*****&amp;quot;,&amp;quot;****IP address as int****&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: Spoke too soon, still fails for periods of time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>