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)- A7% (4)
- B5% (3)
- C71% (39)
- D16% (9)
Community Discussion
No community discussion yet for this question.