-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add support to query for PTR & SRV records for DNS upstream resolver #97716
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
Add support to query for PTR & SRV records for DNS upstream resolver #97716
Conversation
897cebf
to
76eb8dc
Compare
…ords This commit enhances DNS upstream resolver functionality by adding support to query for PTR and SRV records. Signed-off-by: Cristian Bulacu <[email protected]>
76eb8dc
to
db3f0cb
Compare
forgot a break statement. |
|
@ckhardin, could you please let me know what might be wrong in testservice._http._tcp.example.com has SRV record 0 5 8080 dns1.example.com. |
Take a packet capture and ensure that the wire sees the query and the response - compare those to the reference host code - if the packets are there, then the issue is likely in the parsing code for the message. There is nothing in the example that stands out as incorrect so this is likely a trace thru some code to figure out the parsing issues. Also double check the configuration for DNS in the zephyr config and try to make sure all the length and sizes are set larger than the responses coming back. A trade off with zephyr for memory and code size is that the DNS configuration can be limited to messages it can handle in response and that can have unintended consequences. |
Thanks. I'll keep you updated when I'll have an answer. |
This commit enhances DNS upstream resolver functionality by adding support to query for PTR and SRV records.
Testing has been done using the following configuration and bind9:

On an OpenThread node:

For SRV queries I haven't yet managed to see it working so far, not even using
net dns
command.