Host

Provides DNS querying via the ubiquitous host utility. Currently only supports only reverse lookups:

iex(1)> Host.reverse_lookup(ip: "172.217.5.206")
{:ok, "lax28s10-in-f14.1e100.net"}

Installation

The package can be installed by adding host to your list of dependencies in mix.exs:

def deps do
[
{:host, "~> 0.1.0"}
]
end