(PECL getdns >= 0.10.0)
php_getdns_context_set_edns_version — Set the EDNS version number.
$context
, int $value
)This function sets the EDNS version number. See » RFC 6891 for a description of this value and its function.
contextThe previously created DNS context that is to be used with this request.
valueThe EDNS version number to be set. Valid values range from 0 to 255 inclusive. The default value is 0 (zero).
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.