Which statement correctly describes the behavior of the name service switch?

Given the line from a name service configuration file:
hosts: files nis nisplus dns
Which statement correctly describes the behavior of the name service switch?

Given the line from a name service configuration file:
hosts: files nis nisplus dns
Which statement correctly describes the behavior of the name service switch?

A.
The attempt to locate a host’s IP address would begin with DNS and would continue, if
necessary, to use each name service, reading right to left, and stopping only if the IP address was
found or if the name service list was completed.

B.
The attempt to locate a host’s IP address would begin with local files and would continue, if
necessary, to use each name service, reading left to right, and stopping only if the IP address was
found or if the name service list was completed.

C.
The attempt to locate a host’s IP address would begin with DNS and would continue, if
necessary, to use each name service, reading right to left, and stopping if the IP address was
found, any of the name services were unavailable, or if the name service list was completed.

D.
The attempt to locate a host’s IP address would begin with local files and would continue, if
necessary, to use each name service, reading left to right, and stopping if the IP address was
found, if any of the name services were unavailable, or if the name service list was completed.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *