User Tools

Site Tools


dns:host

Host

The host command is very similar to dig. However, the output is simpler and it will use the search domains in resolv.conf, whereas dig does not by default.

Example from here

$ host foo
foo.myfqdn.com has address 10.1.2.3

$ dig +short foo
# (no result)

$ dig +short +search foo
10.1.2.3
dns/host.txt · Last modified: by bstafford