Difference between revisions of "Host"
From Linuxintro
imported>ThorstenStaerk m (→See also) |
imported>ThorstenStaerk m (→See also) |
||
Line 14: | Line 14: | ||
[[Category:Networking]] | [[Category:Networking]] | ||
− | [[Category: | + | [[Category:Command]] |
Revision as of 11:05, 20 April 2014
The command host allows you to find out an IP address from a host name and the other way round:
# host www.staerk.de www.staerk.de has address 92.51.132.237
# host 8.8.8.8 8.8.8.8.in-addr.arpa domain name pointer google-public-dns-a.google.com.
If you want to query different mail servers or query for the domain's mail server (the "MX record"), use the command dig.