LPI
117-010 · Question #85
Which command shows, amongst other information, the IP address of the current DNS server for a Linux system?
The correct answer is D. cat /etc/resolv.conf. See the full explanation below for the reasoning.
Question
Which command shows, amongst other information, the IP address of the current DNS server for a Linux system?
Options
- Acat /etc/net/dns.conf
- Bifconfig -v dns
- Cshow net dns
- Dcat /etc/resolv.conf
- Ecat /etc/net/nameserver.conf
How the community answered
(59 responses)- A3% (2)
- B2% (1)
- C3% (2)
- D80% (47)
- E12% (7)
Community Discussion
No community discussion yet for this question.