NAME
InternetData::DomainResult - what a domain lookup answers
SYNOPSIS
my $domain = $client->lookup_domain('example.com');
$domain->is_registered; # 1
$domain->has_mx; # 1, 0
$domain->is_disposable; # 0, or undef when your plan omits it
$domain->has('dns'); # 1 if your plan carries the records at all
DESCRIPTION
Absent is not false here either: a member your plan does not include has no key at all, so read it with has or //, as "ABSENT IS NOT FALSE" in InternetData::Result explains.
METHODS
domain, is_registered, has_a, has_aaaa, has_mx, has_ns, has_cname
On every answer, with a key or without one: the domain, whether it is registered, and whether it has each type of DNS record, 1 or 0.
is_disposable, disposable
Paid: whether the domain is in Disposable Domain, a throwaway email provider's, and the detail behind it, {} when it is not. undef when your plan omits them.
dns, ip_ranges
Paid: the records themselves (a, aaaa, mx, ns and cname, each an array reference), and the IP ranges its organization holds. undef when your plan omits them.
trial_expired
On answers to a key on the free plan only, as on InternetData::Result.
has($field), fields, raw
As on InternetData::Result.