(PECL getdns >= 0.10.0)
php_getdns_context_get_edns_maximum_udp_payload_size — Get the EDNS maximum UDP payload size.
This function gets the EDNS maximum UDP payload size. See » RFC 6891 for a description of this value and its function.
The previously created DNS context that is to be used with this request.
The current EDNS maximum UDP payload size value. The value will be between 512 and 65535 inclusive; if not explicitly set outgoing values will adhere to the suggestions in » RFC 6891 and may follow a scheme that uses multiple values to maximize receptivity. 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.