DomainRecordCreator
class DomainRecordCreator (View source)
Constants
| private IPV4_SUFFIX |
|
| private IPV6_SUFFIX |
|
Methods
__construct(ConfigurationManager $config, DomainRepositoryInterface $domainRepository, RecordManagerInterface $recordManager, IPAddressValidator|null $ipValidator = null, ReverseTtlResolver|null $reverseTtlResolver = null)
No description
array
addDomainRecord(string $name, string $type, string $content, int $zone_id, string $comment = '', string $account = '')
Create a matching A/AAAA record in the forward zone when adding a PTR record.
Details
__construct(ConfigurationManager $config, DomainRepositoryInterface $domainRepository, RecordManagerInterface $recordManager, IPAddressValidator|null $ipValidator = null, ReverseTtlResolver|null $reverseTtlResolver = null)
No description
array
addDomainRecord(string $name, string $type, string $content, int $zone_id, string $comment = '', string $account = '')
Create a matching A/AAAA record in the forward zone when adding a PTR record.