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