nerdexam
McAfee

MA0-150 · Question #167

After compromising a Linux/Unix host, an attacker cannot seem to ping hosts by name but can ping them by IP address. What command can be used to find the DNS server that the compromised host is using?

The correct answer is C. cat /etc/resolv.conf. See the full explanation below for the reasoning.

Question

After compromising a Linux/Unix host, an attacker cannot seem to ping hosts by name but can ping them by IP address. What command can be used to find the DNS server that the compromised host is using?

Options

  • Aifconfig
  • Bifconfig -a
  • Ccat /etc/resolv.conf
  • Dcat/etc/dns.conf

How the community answered

(55 responses)
  • A
    7% (4)
  • B
    5% (3)
  • C
    71% (39)
  • D
    16% (9)

Community Discussion

No community discussion yet for this question.

Full MA0-150 Practice