PrepAway - Latest Free Exam Questions & Answers

which action will allow the host command to return the correct name and IP address?

An administrator changed the hostname of a system from dbtest.company.com to
dbprod.company.com using SMIT. The new entry in /etc/hosts is:
192.168.56.100 dbprod.company.com
When the administrator issued the host command, the following result was observed.

#> host dbprod
host: 0827-801 Host name dbprod does not exist.
#> host 192.168.56.100
dbtest.company.com is 192.168.56.100
Until DNS records can be updated, which action will allow the host command to return the correct
name and IP address?

PrepAway - Latest Free Exam Questions & Answers

A.
Modify/etc/nsswitch.conf and set hosts: files dns

B.
Modify/etc/resolv.conf and specify the new nameserver

C.
Modify/etc/netsvc.conf and set hosts = local, bind

D.
Modify/etc/mrouted.conf and add: dbprod “dbprod” +192.168.56.100

Explanation:

One Comment on “which action will allow the host command to return the correct name and IP address?


Leave a Reply