mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
448 B
Plaintext
26 lines
448 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# host
|
|
|
|
> Lookup Domain Name Server.
|
|
> More information: <https://manned.org/host>.
|
|
|
|
- Lookup A, AAAA, and MX records of a domain:
|
|
|
|
`host {{domain}}`
|
|
|
|
- Lookup a field (CNAME, TXT, ...) of a domain:
|
|
|
|
`host -t {{field}} {{domain}}`
|
|
|
|
- Reverse lookup an IP:
|
|
|
|
`host {{ip_address}}`
|
|
|
|
- Specify an alternate DNS server to query:
|
|
|
|
`host {{domain}} {{8.8.8.8}}`
|