On AIX systems, where DNS resolution takes precedence over NIS, a particular process needs to resolve names using /etc/hosts first. Which of the following processes is the best way to accomplish this without affecting the rest of the system’s name resolution?()
- 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
正确答案:A
答案解析:有

微信扫一扫手机做题