(PECL getdns >= 0.10.0)
php_getdns_context_get_edns_client_subnet_private — Get the EDNS client subnet private value.
$context
, bool $value
)This function can be used to retrieve the current setting of the value used to ask EDNS client subnet aware upstreams to not reveal the originating network of the query.
context
The previously created DNS context that is to be used with this request.
value
The current value of the subnet privacy value. It will evaluate to either TRUE or FALSE. Note that this argument is passed by reference and any existing value will be overwritten.
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.