GSMLG.Whois.Server (GSMLG.Whois v0.2.1)

Define whois server address. Find whois server of Domain, IP or AS.

Link to this section Summary

Link to this section Types

@type t() :: %GSMLG.Whois.Server{host: String.t()}

Link to this section Functions

@spec for_asn16(String.t() | Integer.t()) :: {:ok, t()} | :error
@spec for_asn32(String.t() | Integer.t()) :: {:ok, t()} | :error
Link to this function


@spec for_domain(String.t()) :: {:ok, t()} | :error
@spec for_ip(String.t()) :: {:ok, t()} | :error
@spec for_ipv4(String.t()) :: {:ok, t()} | :error
@spec for_ipv6(String.t()) :: {:ok, t()} | :error