HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ahost — DNS lookup utility to display the A or AAAA record linked with a hostname or IP address. More inform

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandlookupclidnsahostutilitydisplay
linux

Problem

How to use the ahost command: DNS lookup utility to display the A or AAAA record linked with a hostname or IP address. More information: <https://manned.org/ahost>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/ahost

Revisions (0)

No revisions yet.