dns resolve always fails from thread device

205 views
Skip to first unread message

Kenneth

unread,
Mar 22, 2022, 10:21:34 AM3/22/22
to openthread-users
Hello,

I set up my network environment as following and my ISP service doesn't support IPv6 connectivity.
ISP Service<------> WiFi Router <------> Border Router(ot-br-posix ) <------> Thread Deivce
When I try to resolve ipv4.google.com from Thread Device, it always show "Error 28: ResponseTimeout".


```
>ot dns resolve ipv4.google.com fd5f:35d6:a114:f78e:e47f:751d:1750:cff2
>DNS response for ipv4.google.com. - Error 28: ResponseTimeout
```
```
>ot ping fd5f:35d6:a114:f78e:e47f:751d:1750:cff2
>16 bytes from fd5f:35d6:a114:f78e:e47f:751d:1750:cff2: icmp_seq=33 hlim=64 time=15ms
>1 packets transmitted, 1 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 15/15.0/15 ms.
```
```
>ot ping 64:ff9b::0808:0808
>16 bytes from 64:ff9b:0:0:0:0:808:808: icmp_seq=34 hlim=116 time=206ms
>1 packets transmitted, 1 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 206/206.0/206 ms.
```

Thread Device netdata show:
Prefixes:
fdf0:9c8e:c84b:ce57::/64 paros med fffe
Routes:
fda3:2953:ace9:0::/64 s med fffe
Services:
44970 01 d004b000000e10 s fc10
44970 5d fd5f35d6a114f78ee47f751d1750cff2d129 s fc11

Border Router netdata show:
Prefixes:
fdf0:9c8e:c84b:ce57::/64 paros med 1400
Routes:
fda3:2953:ace9:0::/64 s med 1400
Services:
44970 01 d004b000000e10 s 1400
44970 5d fd5f35d6a114f78ee47f751d1750cff2d129 s 1400
Done

networkkey
00112233445566778899aabbccddeeff

Attached the interface information from border router and the sniffer log.
Please let me know if need more debug info.


border-router-ifconfig.txt
dns resolve failure.pcapng

Jonathan Hui

unread,
Mar 22, 2022, 2:03:33 PM3/22/22
to Kenneth, openthread-users
Did you build OTBR using the default configuration? If so, you probably have the DNS-SD Discovery Proxy feature enabled. Unfortunately, OTBR does not currently support having both DNS-SD Discovery Proxy and DNS recursive resolver operating simultaneously, it is something on our TODO list.

--
Jonathan Hui



--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/9593395d-2079-43d4-8373-f5dd7e4cdf07n%40googlegroups.com.

Kenneth

unread,
Mar 23, 2022, 6:24:04 AM3/23/22
to openthread-users
Hi Jonathan,

Yep. I build OTBR using the default configutation.  And for Project Matter, I need OTBR_DNSSD_DISCOVERY_PROXY & OTBR_SRP_ADVERTISING_PROXY feature.
ot-br-posix commit ID 72bb3d45684f837e67e7f1ec20a9a8e3ac4a4419 

But I also want to test the DNS recursive resolver operating feature now with my Matter/Thread Device. So could you tell me how to enable this feature even if it needs to disable OTBR_DNSSD_DISCOVERY_PROXY or OTBR_SRP_ADVERTISING_PROXY. Thanks!

Best Regards,
Kenneth

Jonathan Hui

unread,
Mar 23, 2022, 6:26:13 PM3/23/22
to Kenneth, openthread-users
You can disable Discovery and Advertising Proxy by removing these two lines in `script/_otbr` before running `./script/setup`.

--
Jonathan Hui



Kenneth

unread,
Mar 25, 2022, 3:46:37 AM3/25/22
to openthread-users
Jonathan,
Thank you! Let me try this configuration.

Best,
Kenneth Fu

Reply all
Reply to author
Forward
0 new messages