getdns Functions
PHP Manual

php_getdns_context_set_edns_do_bit

(PECL getdns >= 0.10.0)

php_getdns_context_set_edns_do_bitSet the value of the EDNS DO bit.

Description

int php_getdns_context_set_edns_do_bit ( int $context , bool $value )

This function sets the value of the EDNS DO (DNSSEC OK) bit to either TRUE or FALSE. See » RFC 3225 for a description of this flag and its function.

Parameters

context

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

value

The value used to set the EDNS DO bit. It must be a valid boolean value.

Return Values

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


getdns Functions
PHP Manual