nerdexam
LPI

201-450 · Question #162

A DNS server has the IP address 192.168.0.1. Which TWO of the following need to be done on a client machine to use this DNS server?

The correct answer is A. Add nameserver 192.168.0.1 to /etc/resolv.conf D. Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file. You've hit your session limit · resets 10:20pm (America/New_York)

Networking Configuration

Question

A DNS server has the IP address 192.168.0.1. Which TWO of the following need to be done on a client machine to use this DNS server?

Options

  • AAdd nameserver 192.168.0.1 to /etc/resolv.conf
  • BRun route add nameserver 192.168.0.1
  • CRun ifconfig eth0 nameserver 192.168.0.1
  • DEnsure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file
  • ERun bind add nameserver 192.168.0.1

How the community answered

(24 responses)
  • A
    75% (18)
  • B
    8% (2)
  • C
    4% (1)
  • E
    13% (3)

Explanation

You've hit your session limit · resets 10:20pm (America/New_York)

Topics

#/etc/resolv.conf#/etc/nsswitch.conf#DNS client#nameserver

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice