mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
494 B
Plaintext
22 lines
494 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ahost
|
|
|
|
> DNS lookup utility to display the A or AAAA record linked with a hostname or IP address.
|
|
> More information: <https://manned.org/ahost>.
|
|
|
|
- Print an `A` or `AAAA` record associated with a hostname or IP address:
|
|
|
|
`ahost {{example.com}}`
|
|
|
|
- Display some extra debugging output:
|
|
|
|
`ahost -d {{example.com}}`
|
|
|
|
- Display the record with a specified type:
|
|
|
|
`ahost -t {{a|aaaa|u}} {{example.com}}`
|