Linux

host

SafeQuick DNS lookup

host <name>

Terser than dig. -t selects record type (MX, TXT...). Quick forward/reverse checks.

Examples

  • host -t mx example.comCheck MX records

Syntax

host [-t type] <name> [server]

Before you run it

Read only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store