How To
Summary
This article describes how the AIX host name resolver works in different scenarios.
Objective
Steps
- BIND/DNS (domain name server, named)
- Network Information Service (NIS)
- The local /etc/hosts file
The default order can be overridden by creating the configuration file /etc/netsvc.conf and specifying the desired order. For example:
hosts=local,bind4
Both the default behavior and /etc/netsvc.conf can be overridden with the environment variable NSORDER. For example:
NSORDER=local,bind4
- Look up the IPv6 address in /etc/hosts
- Query the IPv6 address from the DNS server
- Look up the IPv4 address in /etc/hosts
- Query the IPv4 address from the DNS server
search <domain> nameserver <ip_address> nameserver <ip_address> nameserver <ip_address> options timeout:1 attempts:2
If DNS problems are suspected, follow these steps.
dig @server_ip host_nameFor example:
dig @192.168.0.1 www.ibm.com
RES_OPTIONS=debug host www.ibm.com 192.168.0.1
Additional Information
SUPPORT:
If additional assistance is required after completing all of the instructions provided in this document, please follow the step-by-step instructions below to contact IBM to open a case for software under warranty or with an active and valid support contract. The technical support specialist assigned to your case will confirm that you have completed these steps.
a. Document and/or take screen shots of all symptoms, errors, and/or messages that might have occurred
b. Capture any logs or data relevant to the situation.
c. Contact IBM to open a case:
-For electronic support, please visit the IBM Support Community:
https://www.ibm.com/mysupport
-If you require telephone support, please visit the web page:
https://www.ibm.com/planetwide/
d. Provide a good description of your issue and reference this technote
e. Upload all of the details and data to your case
-You can attach files to your case in the IBM Support Community
-Or Upload data to IBM testcase server analysis:
http://www.ibm.com/support/docview.wss?uid=ibm10733581
f. Click here to submit feedback for this document.
Related Information
Was this topic helpful?
Document Information
Modified date:
30 May 2019
UID
ibm10885142