GSMLG.Whois (GSMLG.Whois v0.1.0)
Documentation for GSMLG.Whois
.
Link to this section Summary
Functions
Queries the appropriate WHOIS server for the domain name domain
and returns
a {:ok, %GSMLG.Whois.Record{}}
tuple on success, and {:error, reason}
on
failure.
Link to this section Types
Link to this type
lookup_option()
@type lookup_option() :: {:server, String.t() | GSMLG.Whois.Server.t()}
Link to this section Functions
Link to this function
lookup(domain, opts \\ [])
@spec lookup(String.t(), [lookup_option()]) :: {:ok, GSMLG.Whois.Record.t()} | {:error, atom()}
Queries the appropriate WHOIS server for the domain name domain
and returns
a {:ok, %GSMLG.Whois.Record{}}
tuple on success, and {:error, reason}
on
failure.
Link to this function
lookup_as_raw(asn, opts \\ [])
Link to this function
lookup_ip_raw(ipaddr, opts \\ [])
Link to this function