-
Notifications
You must be signed in to change notification settings - Fork 28
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
Manual/DHCP DNS Server (TZ-544) #54
Comments
So you want to use BR to resolve local service? Or what is your demend? Could you please show me some detials about that? |
Yes i want it to resolve local hostnames eg: server.home.local, and just by able to change the dns server it uses this would be possible, but i can't find any configuration options for it. My home router is ipv6 capable and it can properly resolve it, i just need to be able to make the border router and all other thread devices use it. |
So you mean that the local dns service resolving shown like this link? For the thread device in the thread network(not BR device), the dns server should be the BR device. Notice that all the commands shown in the link is related to the OT device, and these commands are implemented in the openthread stack. As for the BR, it is also a WiFi device, if you want to resolve the service on the wifi interface, you can just use the |
And for the thread device, there is a config to set the DNS server, which can be set by
But I don't believe this feature is related to the local service, this server is configured on the BR, and using to access the service on the global network. |
That dns server is only uses for the DNS64 feature i think, i did also set it but it had no effect. I did manage to force my router to redirect dns to itself, but i think in the future the dns server should be from dhcpv6 or at least configurable in menuconfig, defaulting to a google dns seems wrong to me. |
Hi @jeroen79 Sorry for the delay. Beside on my understanding, your demand is that you want to resolve the a local service, so does your local service publish by mDNS? If yes, our BR support the proxy that helps Thread device to query the service on the Wi-Fi interface. For the details you can refer to this link which is metioned before. If your service surely published via a local dns server, I think you can change the DNS server address to your local server address, and then you can just ping the server on thread device, the BR will also resolve the address via local DNS. Which you mention that
And if you want to change the DNS server, you need to modify this config. |
Hi, No my dns server does not use mdns, its a normal lan dns server., is that not sufficient?
This setting also does not seem to have any effect, if i understand correctly it is only for ipv6->ipv4 conversion. There is another way way the system seems to force the google ipv6 dns server, but so far i have not had the time to figure out where is comes from. |
Ok, got that.
No, for the thread device, if it wants to resolve some service address, the device will try to send the query packet to the DNS server IPv4 embedded IPv6 address, this address constructs by a NAT64 prefix and an IPv4 address. The query packet will first send to BR and BR will deconstruct the address and get the target DNS IPv4 address. And send the packet to the DNS server. If your local server is surely a DNS server, this should be works. Could you please try to ping the DNS server address on the thread device(not on the BR)? Maybe we need to confirm that the connection between Thread device and DNS server are well. On the thread device, yuou can just ping command:
|
@jeroen79 could you help to close the issue if it has been resolved? |
You can close it, i have switched to just using wifi for now, i wasn't satisfied with the current stability of thread on esp32. i might pick it up again later. |
@jeroen79 The issue you've described appears to be a functional one, and we have a solution for you. Could you provide more details about the stability concerns? We are happy to assist you in resolving any stability issues you may be experiencing. |
Is there a way to set the dns server used but the border router?, it seems to use a google dns server by default.
Using the dns server from DHCP6 would also be acceptable, but using google is just wrong, it won't be able to resolve local hostnames.
The text was updated successfully, but these errors were encountered: