[GH-ISSUE #54] The rdata array keys are different between encoding and decoding #24

Closed
opened 2026-03-04 23:23:48 +03:00 by kerem · 1 comment
Owner

Originally created by @samuelwilliams on GitHub (Sep 4, 2018).
Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/54

The keys on the MX rdata array are different when encoding, the key is 'target', but when decoding it is 'host'. Similarly, SOA keys are 'minimum' and 'minimum-ttl' - these should probably be all the same for consistency.

Originally created by @samuelwilliams on GitHub (Sep 4, 2018). Original GitHub issue: https://github.com/yswery/PHP-DNS-SERVER/issues/54 The keys on the MX rdata array are different when encoding, the key is 'target', but when decoding it is 'host'. Similarly, SOA keys are 'minimum' and 'minimum-ttl' - these should probably be all the same for consistency.
kerem closed this issue 2026-03-04 23:23:49 +03:00
Author
Owner

@samuelwilliams commented on GitHub (Sep 11, 2018):

This issue is addressed in the version-1 branch

<!-- gh-comment-id:420223964 --> @samuelwilliams commented on GitHub (Sep 11, 2018): This issue is addressed in the version-1 branch
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PHP-DNS-SERVER#24
No description provided.