IBM
C9010-022 · Question #162
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: 0821-001 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/rmrouted.conf and add: dbprod "dbprod" +192.168.56.100
How the community answered
(49 responses)- A14% (7)
- B8% (4)
- C73% (36)
- D4% (2)
Community Discussion
No community discussion yet for this question.