Method | Description | |
---|---|---|
__construct ( Amp\Dns\Resolver $resolver = null ) | Dns01 constructor. | |
verifyChallenge ( string $domain, string $expectedPayload ) : Amp\Promise | Verifies a DNS-01 Challenge. |
Method | Description | |
---|---|---|
doVerifyChallenge ( string $domain, string $expectedPayload ) : Generator | Verifies a DNS-01 Challenge. |
public __construct ( Amp\Dns\Resolver $resolver = null ) | ||
$resolver | Amp\Dns\Resolver | DNS resolver, otherwise a default resolver will be used |
public verifyChallenge ( string $domain, string $expectedPayload ) : Amp\Promise | ||
$domain | string | domain to verify |
$expectedPayload | string | expected DNS record value |
return | Amp\Promise | resolves to the DNS entry found |