1

I can't add subdomain with canonical name through domainconnect.org API. I'm using ext-domain-connect project. The all exist examples are about adding A records.

How I can add subdomain with canonical name through domain connect protocol?

Example of adding A records from ext-domain-connect

try {
    $applyUrl = (new TemplateService())->getTemplateSyncUrl(
        'www.example-domain.com',
        'exampleservice.domainconnect.org',
        'template1',
        [
            'IP' => '132.148.25.185',
            'RANDOMTEXT' => 'shm:1531371203:Hello world sync',
        ],
        $privateKey,
        $keyId
    );
    print_r($applyUrl);
} catch (DomainConnectException $e) {
    echo (sprintf('An error has occurred: %s', $e->getMessage()));
}
Mednik
  • 11
  • 1

0 Answers0