(PECL getdns >= 0.10.0)
php_getdns_context_set_edns_maximum_udp_payload_size — Set the EDNS maximum UDP payload size.
$context
, int $value
)This function sets the EDNS maximum UDP payload size. See » RFC 6891 for a description of this value and its function.
context
The previously created DNS context that is to be used with this request.
value
The EDNS maximum UDP payload size value. The value must be between 512 and 65535 inclusive; when not set, outgoing values will adhere to the suggestions in » RFC 6891 and may follow a scheme that uses multiple values to maximize receptivity.
This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.