recon_16 (bind version)

View the exercise here: PentesterLab: Recon 16

OBJECTIVE

For this challenge, your goal is to get the version of bind used by z.hackycorp.com.

BIND

Bind is one of the most common DNS servers used. If you know how to ask, it will reveal its version.

SOLUTION

dig @z.hackycorp.com version.bind CHAOS TXT
  • dig: The tool used for querying DNS.

  • @z.hackycorp.com: Specifies the DNS server (z.hackycorp.com) to query.

  • version.bind: This asks for the version of the DNS server.

  • CHAOS: The DNS class used for special queries like retrieving server information (in this case, the version).

  • TXT: Requests the response as a text record (where the version info is stored).

Last updated