Comments (4)
same seems to also happen for the IpAddress
field
from php-dns.
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?
from php-dns.
Oh, nvm. I misunderstood what you are saying. You want the original IPAddress or Data object in the array for toArray()
. I do see that as a flaw come to think of it. It's premature formatting. I would suggest using the getIPAddress()
or getData()
methods instead or feel free to apply the decorator pattern the DNSRecord object with your own and format toArray()
as you like it. I can update this in a breaking change release sometime in the future. I'll leave this open until then.
from php-dns.
Sure no worries, it's easy to work around too. There's something to say for both ways the toArray()
method could work, so I'm not really sure what would be the "proper" way of handling this either.
from php-dns.
Related Issues (20)
- Non Blocking Chain Resolver
- Google DNS mapper for MX record type HOT 4
- Support symfony/event-dispatcher 4.3 HOT 4
- Better Unit Tests
- SRV records HOT 4
- RemoteSystem Resolver HOT 5
- Dig resolver incorrect result HOT 10
- Update spatie/dns version HOT 2
- Update psr/cache and psr/log HOT 7
- TXT Record value handling. HOT 2
- Unable to query PTR, PTRData is missing in DataAbstract factory HOT 4
- Upgrade Usages of Serializeable Interface to Magic Methods HOT 1
- Ability to use this in Symfony 6 (and Laravel 9) HOT 4
- Undefined constant "DNS_CAA" on Windows
- Chaining with consensus could lead to unpredictable results HOT 2
- Allow passing multiple DNSRecordType's to getRecords HOT 1
- mandrill._domainkey.domain.com. is not a valid hostname HOT 2
- PSR-18 migration HOT 1
- GoogleDNS: DNS type 46 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-dns.