getdns Functions
PHP Manual

php_getdns_root_trust_anchor

(PECL getdns >= 0.10.0)

php_getdns_root_trust_anchorRetrieve the default list of trust anchor records.

Description

int php_getdns_root_trust_anchor ( int &$anchorDate )

This function retrieves the default list of trust anchor records that is used by the getdns library to validate DNSSEC.

Parameters

anchorDate

An integer that will be set to the number of seconds since epoch that the trust anchors were obtained. Note that this argument is passed by reference and any existing value will be overwritten.

Return Values

This function returns an integer representing the trust anchor list. Zero (0) is returned if no default trust anchor is present.


getdns Functions
PHP Manual