IBM
C4040-221 · Question #225
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…
The correct answer is C. Modify/etc/netsvc.conf and set hosts = local, bind. See the full explanation below for the reasoning.
Question
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?
Options
- AModify/etc/nsswitch.conf and set hosts: files dns
- BModify/etc/resolv.conf and specify the new nameserver
- CModify/etc/netsvc.conf and set hosts = local, bind
- DModify/etc/mrouted.conf and add: dbprod "dbprod" +192.168.56.100
How the community answered
(29 responses)- A3% (1)
- B10% (3)
- C83% (24)
- D3% (1)
Community Discussion
No community discussion yet for this question.