getdns Functions
PHP Manual

php_getdns_context_set_suffix

(PECL getdns >= 0.10.0)

php_getdns_context_set_suffixSet the list of suffixes to be appended to query names.

Description

int php_getdns_context_set_suffix ( int $context , int $value )

This function sets the list of suffixes to be appended to query names.

Parameters

context

The previously created DNS context that is to be used with this request.

value

A reference to a list of bindata strings that are to be appended based on php_getdns_context_set_append_name(); the default is an empty list. The values should follow the rules in section 2.1 of » RFC 4343 to allow non-ASCII octets and special characters in labels.

Return Values

This function returns an integer response code. GETDNS_RETURN_GOOD indicates successful completion.


getdns Functions
PHP Manual