getdns Functions
PHP Manual

php_getdns_context_set_dnssec_allowed_skew

(PECL getdns >= 0.10.0)

php_getdns_context_set_dnssec_allowed_skewSet the number of seconds of skew that is allowed when checking DNSSEC RRSIG values.

Description

int php_getdns_context_set_dnssec_allowed_skew ( int $context , int $value )

This function sets the number of seconds of skew that is allowed in either direction when checking an RRSIG's Expiration and Inception fields. The default is 0 (zero).

Parameters

context

The previously created DNS context that is to be used with this request.

value

The number of seconds of allowable skew. The value must fit within a 32-bit unsigned integer.

Return Values

This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.


getdns Functions
PHP Manual