getdns Functions
PHP Manual


(PECL getdns >= 0.10.0)

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


int php_getdns_context_get_dnssec_allowed_skew ( int $context , int &$value )

This function gets 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).



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


The number of seconds of allowable skew. The value will fit within a 32-bit unsigned integer. Note that this argument is passed by reference and any existing value will be overwritten.

Return Values

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

getdns Functions
PHP Manual