-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
No RDATA records in text format #110
Comments
[ Quoting notifications@github.com in "[dns] No RDATA records in text form..." ]
Yes, this is a bug and an annoying one as well, because it effects the parsing /Miek Miek Gieben |
[ Quoting notifications@github.com in "[dns] No RDATA records in text form..." ]
Added TestDynamicUpdateParsing as a test and fixed some records, but more work /Miek Miek Gieben |
So.. when you use Dynamic Update queries, you sometimes use no RDATA rrs, like this:
RData length will be 0 and there would be text representation like this:
This library correctly represents such text representation from something like this:
but fails to parse it back into RR, this one will panic regardless of whitespace after A:
This would not affect much real world operations! I don't know where the need of parsing such records in text format would arise but IMO it worth discussion if this behavior should be considered a bug.
I did not check much but Net::DNS is installed and seem to read those properly:
The text was updated successfully, but these errors were encountered: