单项选择题
The order of name resolution can be controlled. The default is:
1.BIND
2.NIS
3./etc/hosts
To change the order of the above name resolutions, which of the following should be used?()
A.nslookup
B.hostname
C./etc/netsvc.conf
D./etc/host.equiv
相关考题
-
单项选择题
WhichofthefollowingNISdaemonsmustrunonanAIXmachineconfiguredasanNISmaster?()
A.ypbind
B.ypserv
C.ypwhich
D.yppasswdd -
单项选择题
Asystemadministratorhasaddedanewportentryin/etc/servicesforanewapplicationtobetested.Whichofthefollowingcommandsshouldbeusedtoactivatethisport?()
A.telinit -q
B.refresh -s inetd
C.startsrc -g services
D.refresh -s portmap -
单项选择题
OnAIXsystems,whereDNSresolutiontakesprecedenceoverNIS,aparticularprocessneedstoresolvenamesusing/etc/hostsfirst.Whichofthefollowingprocessesisthebestwaytoaccomplishthiswithoutaffectingtherestofthesystem’snameresolution?()
A.Set the NSORDER environmental variable of the environment which invokes the process to:NSORDER="local,nis,bind"
B.Set the NSORDER environmental variable of the environment which invokes the process to: NSORDER="hosts=auth,nis,bind"
C.Edit /etc/netsvc.conf to add a line similar to the following: process /full/path/of/process {hosts=local,nis,dns}
D.Unset NSORDER environment variable of the environment which invokes the process
