class DnsMock
Methods
static | withMockedHosts(array $hosts) Configures the mock values for DNS queries. | |
static | checkdnsrr($hostname, $type = 'MX') | |
static | getmxrr($hostname, $mxhosts, $weight = null) | |
static | gethostbyaddr($ipAddress) | |
static | gethostbyname($hostname) | |
static | gethostbynamel($hostname) | |
static | dns_get_record($hostname, $type = DNS_ANY, $authns = null, $addtl = null, $raw = false) | |
static | register($class) |
Details
static withMockedHosts(array $hosts)
Configures the mock values for DNS queries.
Please login to continue.