-
Notifications
You must be signed in to change notification settings - Fork 20
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
DNSRecord toArray missing data array #52
Comments
same seems to also happen for the |
Hi there! Thanks for reporting this. Could you please provide a sample domain and query this is happening for or is it all of them? |
Oh, nvm. I misunderstood what you are saying. You want the original IPAddress or Data object in the array for |
Sure no worries, it's easy to work around too. There's something to say for both ways the |
It seems that the
toArray
function ofDNSRecord
doesn't calltoArray
on thedata
field (if it exists). Instead turning it into a string of text.https://github.com/remotelyliving/php-dns/blob/711697608616931c9ec94624cb8984355b73102e/src/Entities/DNSRecord.php#L108C58-L108C58
Is this intended?
The text was updated successfully, but these errors were encountered: