-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DnssdServer ResponseTimeout #2593
Comments
Probably this is caused my previous PR: openthread/openthread#10864. If you build with The PR breaks your case because previously it will send the DNS query to the first network interface which has the route to the DNS server, but now it will sends the query to the infra network interface specified by the |
Thanks for the response! I tried setting
Building at latest ot-br-posix with that has no effect it would seem. I am still getting the DNS query timeouts. I'm not 100% sure I'm setting that flag right though. The log is much the same as before: As I understand it, the dockerfile should also be setting the
A little more context, the docker container is attached to two docker networks in my case. This gives me lo, wpan0, eth0, and eth1 inside the container. eth0 should be the correct backbone interface to reach the MQTT container I'm running DNS queries for on my FTDs. The other network is my reverse proxy / ingress for the docker compose stack just so I can reach otbr web and the otbr REST API. |
I think adding Maybe you can try just changing this line to define it as zero.
It seems correct to specify The issue is that when Suggestion:
|
Sometime after 697cb48, thread FTDs are no longer able to resolve DNS of a hostname on the adjacent ethernet network successfully. To be clear, 697cb48 works fine, but the latest commit does not.
I have a Raspberry Pi 5 with RCP connected via SPI running a docker compose stack consisting of an otbr container and a mosquitto broker container, which are networked appropriately. The FTDs are commissioned via the otbr container and attempt to use otDnsClientResolveIp4Address to resolve the mosquitto service name so they can connect to MQTT. This has been working fine for a while.
After running a clean build of the otbr container recently, the FTDs can no longer find mosquitto:
ot-br-posix_main.log
The FTDs return errno 28 (ETIMEOUT) when trying to resolve DNS. Equivalent with
ot dns resolve4 hostname
.I jumped back a couple months on ot-br-posix to the aforementioned commit in a new clean docker build and it works again as expected. This was the only change made.
ot-br-posix_697cb48.log
As expected, the FTDs can resolve the hostname.
Additional details:
Raspberry Pi 5, nrf52840DK RCP connected via SPI
FTDs are nrf52840DK running proprietary software, though the openthread CLI is sufficient to check the problem with
ot dns resolve4 hostname
Network is:
FTD <---> Pi 5 [ OTBR Docker <--Docker VLAN--> Mosquitto Broker ]
The text was updated successfully, but these errors were encountered: