This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[IoT SDK] Cloud CoAp DNS Query Failed

I am using a nrf52 dev kit as well as a raspberry pi to set up the cloud coap example in the nordic docs. I have set up a 6-4 tunnel through hurricane electric and have full ipv6 + dns6 on the raspberry pi. I am able to connect to the Nordic through the 6lowpan module such that the second LED turns on. However, I still get the following from the Nordic board.

[APPL]: DNS query failed.
[APPL]: CoAP server IPv6 address not available, sending DNS query... 
[APPL]: DNS Response for hostname: coap.exosite.com, with 0 IPv6 addresses and status 

I am also able to make coap requests to the exosite endpoint through coap-cli from the raspberry pi. Any help or guidance would be much appreciated.

Parents
  • Hi Amajabb,

    Which IoT SDK and example are you using? I assumed that your raspberry pi router can't route IPv6 address from your device to HE.

    Did you succeed to ping to coap.exosite.com on your raspberry pi?

    Thanks, Eugene

  • I have tested simply with "data_source" example and got the result as below

    [APPL]: Periodic CoAP POST requests enabled.
    [APPL]: CoAP server IPv6 address not available, sending DNS query...
    [APPL]: DNS Response for hostname: coap.exosite.com, with 1 IPv6 addresses and status 0x00000000
    [APPL]: [0] IPv6 Address: 2600:3c01:0000:0000:f03c:91ff:fe33:2b76
    [APPL]: Sending CoAP POST request, with payload   19...
    

    Have you tried pinging from Windows CMD Terminal? If you have correct routing setting, you can do IPv6 ping from other device as windows laptop or linux laptop which it belonging in network.

    My assumption is that IPv6 routing is not working properly between HE and BT0 interface

Reply
  • I have tested simply with "data_source" example and got the result as below

    [APPL]: Periodic CoAP POST requests enabled.
    [APPL]: CoAP server IPv6 address not available, sending DNS query...
    [APPL]: DNS Response for hostname: coap.exosite.com, with 1 IPv6 addresses and status 0x00000000
    [APPL]: [0] IPv6 Address: 2600:3c01:0000:0000:f03c:91ff:fe33:2b76
    [APPL]: Sending CoAP POST request, with payload   19...
    

    Have you tried pinging from Windows CMD Terminal? If you have correct routing setting, you can do IPv6 ping from other device as windows laptop or linux laptop which it belonging in network.

    My assumption is that IPv6 routing is not working properly between HE and BT0 interface

Children
No Data
Related