Skip to content

Commit

Permalink
Merge pull request #31 from exonet/type-update
Browse files Browse the repository at this point in the history
Update record types
  • Loading branch information
rsplithof authored Apr 30, 2020
2 parents 08eb5e5 + 08e7e55 commit 4ff3d4f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Please, please, please, don't send your pull request until all of the boxes are
- [ ] I have read the **[CONTRIBUTING](../.github/CONTRIBUTING.md)** document.
- [ ] My pull request addresses exactly one patch/feature.
- [ ] I have created a branch for this patch/feature.
- [ ] I'm creating this PR to the `develop` branch.
- [ ] Each individual commit in the pull request is meaningful.
- [ ] I have added tests to cover my changes.
- [ ] If my change requires a change to the documentation, I have updated it accordingly.
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ All notable changes to `powerdns-php` will be documented in this file.
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## Unreleased
[Compare v2.2.0 - Unreleased](https://github.com/exonet/powerdns-php/compare/v2.2.0...develop)
[Compare v2.3.0 - Unreleased](https://github.com/exonet/powerdns-php/compare/v2.3.0...develop)

## [v2.3.0](https://github.com/exonet/powerdns-php/releases/tag/v2.3.0) - 2020-04-30
[Compare v2.2.0 - v2.3.0](https://github.com/exonet/powerdns-php/compare/v2.2.0...v2.3.0)
### Added
- The record type `SPF`. ([Th3Mouk](https://github.com/Th3Mouk) - [#30](https://github.com/exonet/powerdns-php/pull/30))

### Fixed
- Removed record types `APL`, `HIP` and `TA` which are not supported by PowerDNS.

## [v2.2.0](https://github.com/exonet/powerdns-php/releases/tag/v2.2.0) - 2020-04-01
[Compare v2.1.0 - v2.2.0](https://github.com/exonet/powerdns-php/compare/v2.1.0...v2.2.0)
Expand Down
25 changes: 2 additions & 23 deletions src/RecordType.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
namespace Exonet\Powerdns;

/**
* List of possible DNS Record types. Source: https://en.wikipedia.org/wiki/List_of_DNS_record_types.
* List of possible DNS Record types supported by PowerDNS.
* Source: https://doc.powerdns.com/md/types/.
*/
class RecordType
{
Expand Down Expand Up @@ -36,13 +37,6 @@ class RecordType
*/
public const ALIAS = 'ALIAS';

/**
* Address Prefix List.
*
* Specify lists of address ranges, e.g. in CIDR format, for various address families. Experimental.
*/
public const APL = 'APL';

/**
* Certification Authority Authorization.
*
Expand Down Expand Up @@ -111,13 +105,6 @@ class RecordType
*/
public const DS = 'DS';

/**
* Host Identity Protocol.
*
* Method of separating the end-point identifier and locator roles of IP addresses.
*/
public const HIP = 'HIP';

/**
* IPsec Key.
*
Expand Down Expand Up @@ -264,14 +251,6 @@ class RecordType
*/
public const SSHFP = 'SSHFP';

/**
* DNSSEC Trust Authorities.
*
* Part of a deployment proposal for DNSSEC without a signed DNS root. See the IANA database and Weiler Spec for
* details. Uses the same format as the DS record.
*/
public const TA = 'TA';

/**
* Transaction Key record.
*
Expand Down

0 comments on commit 4ff3d4f

Please sign in to comment.