what happens if a host name is looked up?

Given these entries in /etc/nsswitch.conf:
ipnodes: files [NOTFOUND=return]
hosts: nis [NOTFOUND=return] files
When the NIS service is functioning, what happens if a host name is looked up? (Choose three.)

Given these entries in /etc/nsswitch.conf:
ipnodes: files [NOTFOUND=return]
hosts: nis [NOTFOUND=return] files
When the NIS service is functioning, what happens if a host name is looked up? (Choose three.)

A.
If an entry exists in the NIS database, the lookup always succeeds.

B.
If an entry exists in /etc/inet/hosts, the lookup always succeeds.

C.
If an entry does NOT exist in the NIS database, the lookup always fails.

D.
If an entry exists in /etc/inet/ipnodes, the lookup always succeeds.

E.
If an entry does NOT exist in /etc/inet/hosts, the lookup always fails.

F.
If an entry does NOT exist in either NIS or /etc/inet/ipnodes, the lookup always fails.



Leave a Reply 0

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