10.2.6.1. The host command
To display information on hosts or domains, use the host command:
[emmy@pc10 emmy]$ host www.eunet.be
www.eunet.be. has address 193.74.208.177
[emmy@pc10 emmy]$ host -t any eunet.be
eunet.be. SOA dns.eunet.be. hostmaster.Belgium.EU.net.
2002021300 28800 7200 604800 86400
eunet.be. mail is handled by 50 pophost.eunet.be.
eunet.be. name server ns.EU.net.
eunet.be. name server dns.eunet.be.
|
Similar information can be displayed using the dig command, which gives additional information about
how records are stored in the name server.