nerdexam
GAQM

CPEH-001 · Question #435

You are using NMAP to resolve domain names into IP addresses for a ping sweep later. Which of the following commands looks for IP addresses?

The correct answer is A. >host -t a hackeddomain.com. The A record is an Address record. It returns a 32-bit IPv4 address, most commonly used to map hostnames to an IP address of the host. https://en.wikipedia.org/wiki/List_of_DNS_record_types

Footprinting and Reconnaissance

Question

You are using NMAP to resolve domain names into IP addresses for a ping sweep later. Which of the following commands looks for IP addresses?

Options

  • A
    host -t a hackeddomain.com
  • B
    host -t soa hackeddomain.com
  • C
    host -t ns hackeddomain.com
  • D
    host -t AXFR hackeddomain.com

How the community answered

(38 responses)
  • A
    82% (31)
  • B
    5% (2)
  • C
    3% (1)
  • D
    11% (4)

Explanation

The A record is an Address record. It returns a 32-bit IPv4 address, most commonly used to map hostnames to an IP address of the host. https://en.wikipedia.org/wiki/List_of_DNS_record_types

Topics

#DNS lookup#A records#host command#IP resolution

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice