nerdexam
IBM

C9010-022 · Question #27

Name resolution is not working on a given LPAR. Considering the observed behavior and configuration of /etc/resolv.conf what is the most likely resolution? `` cat /etc/resolv.conf nameserver…

The correct answer is B. Remove the domain line. See the full explanation below for the reasoning.

Question

Name resolution is not working on a given LPAR. Considering the observed behavior and configuration of /etc/resolv.conf what is the most likely resolution?
# cat /etc/resolv.conf
nameserver nameserver1.ying.ibm.com
nameserver 10.20.145.2
search ying.ibm.com yang.ibm.com
domain ying.ibm.com
# nslookup w7
Server: 10.20.145.2
Address: 10.20.145.2#53

** server can't find w7: NXDOMAIN
# nslookup w7.yang.ibm.com
Server: 10.20.145.2
Address: 10.20.145.2#53

w7.yang.ibm.com canonical name = w7.yang.ibm.com
Name: w7.yang.ibm.com
Address: 10.21.147.10
# nslookup nameserver1.ying.ibm.com
Server: 10.20.145.2
Address: 10.20.145.2#53

nameserver1.ying.ibm.com canonical name = nameserver1.ying.ibm.com
Name: nameserver1.ying.ibm.com
Address: 10.20.145.1

Options

  • ACorrect the definition of nameserver1.
  • BRemove the domain line.
  • CVerify the syntax in /etc/nelsvc.conf.
  • DMove the search definition to the beginning of the file

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    83% (25)
  • C
    3% (1)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full C9010-022 Practice