(PECL getdns >= 0.10.0)
php_getdns_context_set_edns_client_subnet_private — Set the EDNS client subnet private value.
$context
, int $value
)This function can be used to ask EDNS client subnet aware upstreams to not reveal the originating network of the query.
contextThe previously created DNS context that is to be used with this request.
valueValid values are 0 (zero) for "not private" and 1 (one) for "private".
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.