Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c76291e286
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 48 lines (26 sloc) 0.92 kb

hostip(8) -- Resolve a host name to an IP address

SYNOPSIS

hostip [] host_name

DESCRIPTION

hostip sends a DNS query to a resolver, and prints the IP addresses for the given host name.

It can be useful in order to retrieve IP addresses before dnscrypt-proxy(8) is started.

OPTIONS

  • -6, --ipv6: ask for AAAA records.

  • -h, --help: show usage.

  • -r, --resolver-address=<ip>[:port]: the resolver IP address (default: 208.67.220.220, OpenDNS).

  • -V, --version: show version number.

SIMPLE USAGE EXAMPLE

$ hostip www.example.com

ADVANCED USAGE EXAMPLE

$ hostip -6 -r 213.154.224.3 www.google.com

EXIT STATUS

The hostip utility exits 0 on success, and > 0 if an error occurs.

SEE ALSO

dnscrypt-proxy(8)

COPYRIGHT

hostip is Copyright (C) 2012 OpenDNS, Inc. http://www.opendns.com/

Something went wrong with that request. Please try again.