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