Open iankressin opened 3 years ago
This is because, each QClass number is mapped to a specific variant in the enum QClass. If there is no mapping for the number then an error is returned. I have to think how to handle it better if there is no mapping for the number.
@LinkTed thanks for the quick response.
Let me know if you need any help with code or testing.
@iankressin could you print the DNS message, where you get this error message?
@LinkTed actually, this is the only info that I've got. I'm not the one sending this message, is some other device in my network
I'm currently using this lib to discovery peers in the local network using mDNS, and the queries are basically DNS queries.
But every now and then the following error shows up in the console:
which is probably due to QClass(32769):
This error could be handled internally, but I wonder if it's possible and makes sense to the project to add the support for mDNS within
dns_message_parser
. If it do, I'll be glad to help.