getdns Functions
PHP Manual

php_getdns_context_set_return_dnssec_status

(PECL getdns >= 0.10.0)

php_getdns_context_set_return_dnssec_statusSet the option to return DNSSEC status with query responses.

Description

int php_getdns_context_set_return_dnssec_status ( int $context , int $enabled )

This function determines if the getdns library will return DNSSEC status information in query responses.

Parameters

context

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

enabled

The value used to indicate if DNSSEC status information should be returned or not. Valid values are either GETDNS_EXTENSION_FALSE or GETDNS_EXTENSION_TRUE.

Return Values

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


getdns Functions
PHP Manual