tldr/pages/common/host.md

16 lines
231 B
Markdown
Raw Normal View History

2015-12-29 14:18:59 +00:00
# host
> Lookup Domain Name Server.
2015-12-29 14:18:59 +00:00
- Lookup A, AAAA, and MX records of a domain:
2015-12-29 14:18:59 +00:00
`host {{domain}}`
- Lookup a field (CNAME, TXT,...) of a domain:
2015-12-29 14:18:59 +00:00
`host -t {{field}} {{domain}}`
- Reverse lookup an IP:
2015-12-29 14:18:59 +00:00
`host {{ip_address}}`