mirror of
https://github.com/yswery/PHP-DNS-SERVER.git
synced 2026-04-26 01:35:57 +03:00
[PR #22] [MERGED] Add MX priorities #53
Labels
No labels
bug
enhancement
enhancement
hacktoberfest
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PHP-DNS-SERVER#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yswery/PHP-DNS-SERVER/pull/22
Author: @samuelwilliams
Created: 4/17/2017
Status: ✅ Merged
Merged: 4/23/2017
Merged by: @yswery
Base:
master← Head:master📝 Commits (2)
4120da3Use correct InvalidArgumentException.fbec996Fixed MX response.📊 Changes
5 files changed (+42 additions, -16 deletions)
View changed files
📝
dns_record.json(+10 -0)📝
src/JsonStorageProvider.php(+1 -1)📝
src/Server.php(+21 -13)📝
tests/JsonStorageProviderTest.php(+5 -1)📝
tests/test_records.json(+5 -1)📄 Description
The server will now handle MX priorities rather than assign a default "10" to every record. Backward compatibility is maintained so that "10" is the default priority. This addresses issue #10.
The MX RDATA record SHOULD now be an associative array of the format
['priority'=>10, 'target'=>'mail.example.com.']Additional housekeeping includes:
\InvalidArgumentException(my IDE autocompleted without me noticing.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.