$ whatis host

host - DNS lookup utility

How to use the host command to get information about other hosts?

$ host

Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]

[-R number] [-m flag] hostname [server]

-a is equivalent to -v -t ANY

-c specifies query class for non-IN data

-C compares SOA records on authoritative nameservers

-d is equivalent to -v

-l lists all hosts in a domain, using AXFR

-i IP6.INT reverse lookups

-N changes the number of dots allowed before root lookup is done

-r disables recursive processing

-R specifies number of retries for UDP packets

-s a SERVFAIL response should stop query

-t specifies the query type

-T enables TCP/IP mode

-v enables verbose output

-w specifies to wait forever for a reply

-W specifies how long to wait for a reply

-4 use IPv4 query transport only

-6 use IPv6 query transport only

-m set memory debugging flag (trace|record|usage)


$ host MyWebUniversity.com

MyWebUniversity.com has address 69.65.10.238

MyWebUniversity.com mail is handled by 0 MyWebUniversity.com.


$ host www.google.com

www.google.com is an alias for www.l.google.com.

www.l.google.com has address 74.125.224.180

www.l.google.com has address 74.125.224.179

www.l.google.com has address 74.125.224.176

www.l.google.com has address 74.125.224.178

www.l.google.com has address 74.125.224.177


Please click on " man host" to see the Manual Page for this command.


Previous Home Page Next



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2024 MyWebUniversity.com ™