OnAIXsystems,whereDNSresolutiontakesprecedenceoverNIS,aparticularprocessneedstoresolvenamesusing/etc/hostsfirst.Whichofthefollowingprocessesisthebestwaytoaccomplishthiswithoutaffectingtherestofthesystem’snameresolution?()A.SettheNSORDERenvironmentalvariab

题目

OnAIXsystems,whereDNSresolutiontakesprecedenceoverNIS,aparticularprocessneedstoresolvenamesusing/etc/hostsfirst.Whichofthefollowingprocessesisthebestwaytoaccomplishthiswithoutaffectingtherestofthesystem’snameresolution?()

A.SettheNSORDERenvironmentalvariableoftheenvironmentwhichinvokestheprocessto:NSORDER="local,nis,bind"

B.SettheNSORDERenvironmentalvariableoftheenvironmentwhichinvokestheprocessto:NSORDER="hosts=auth,nis,bind"

C.Edit/etc/netsvc.conftoaddalinesimilartothefollowing:process/full/path/of/process{hosts=local,nis,dns}

D.UnsetNSORDERenvironmentvariableoftheenvironmentwhichinvokestheprocess


相似考题