Question & Answer
Question
Virtual I/O Server (VIOS) relies heavily on hostname resolution during system startup and for the operation of internal components such as change manager, CMDB, clustering services, and local databases.
Incorrect resolver configuration in /etc/netsvc.conf can lead to hostname resolution failures that impact internal VIOS services, even when external network connectivity appears healthy.
This technote explains how hostname resolution works on VIOS, describes the available resolver options, and provides clear guidance on selecting the appropriate configuration for common environments.
Cause
Applies to:
- IBM Power Systems
- Virtual I/O Server (VIOS) 3.x and later
- IPv4-only, IPv6-only, and dual-stack environments
Background: Hostname resolution on VIOS:
Hostname resolution on VIOS is controlled by the resolver configuration file:
/etc/netsvc.conf
This file determines:
- The order of hostname resolution
- Whether resolution is local or external
- Which IP protocol families (IPv4 / IPv6) are used
VIOS performs hostname resolution during:
- System boot
- Change manager and CMDB initialization
- Internal service communication
- Cluster and SSP operations
Unlike general AIX systems, VIOS relies extensively on local hostname resolution during system startup. Several internal services require the VIOS hostname to resolve successfully before external networking is fully available. As a result, correct resolver configuration is critical to stable startup behavior.
Resolution sources
local
- Uses /etc/hosts
- No network traffic
- Required for internal and loopback resolution
bind
- Uses DNS (BIND)
- Requires network connectivity
- Used for external hostname resolution
IP protocol qualifiers:
Resolver keywords maybe suffixed with protocol qualifiers:
| Qualifier | Meaning |
| 4 | IPv4 only |
| 6 | IPv6 only |
| None | IPv4 and IPv6 |
- External addresses
- Loopback addresses (127.0.0.1, ::1)
- Entries in /etc/hosts
VIOS enables IPv6 loopback (::1) by default, even in environments that are otherwise IPv4-only.
- Is used internally by VIOS services
- Does not require IPv6 routing or IPv6 DNS
- Is commonly selected by system libraries during hostname resolution
Common resolver configurations
hosts=local,bind4 (Recommended for most environments)
Behavior
- /etc/hosts: IPv4 and IPv6
- DNS: IPv4 only
Benefits
- IPv6 loopback (::1) available for internal services
- No dependency on IPv6 DNS
Stable startup behavior
Recommended use:
This is the preferred and recommended configuration for the majority of VIOS deployments, including fresh installations and IPv4-only networks.
hosts=local4,bind4
Behavior
- /etc/hosts: IPv4 only
- DNS: IPv4 only
- IPv6 (including loopback ::1) is ignored
Impact on VIOS
- IPv6 loopback cannot be used for hostname resolution
- Local hostname resolution may fail
- Internal services may exit during startup
Recommended use:
This configuration is not recommended for most VIOS environments.
It should be used only when IPv6 is explicitly disabled by policy at all levels.
hosts=local,bind
Behavior
- /etc/hosts: IPv4 and IPv6
- DNS: IPv4 and IPv6
Considerations:
- Requires fully functional IPv6 networking
- DNS must support AAAA records reliably
May introduce delays if IPv6 DNS is misconfigured
Recommended use:
hosts=local6,bind6
Behavior
- /etc/hosts: IPv6 only
- DNS: IPv6 only
- IPv4 is ignored
Risks
- Many VIOS components assume IPv4 availability
Limited real-world testing on VIOS
Recommended use:
This configuration is intended primarily for IPv6-only lab or test environments and is not recommended for general VIOS production use.
Start
|
|-- Is this a VIOS system?
| |
| |-- No --> Use standard AIX resolver guidance
| |
| |-- Yes
| |
| |-- Is IPv6 fully routed and DNS AAAA records validated?
| |
| |-- Yes --> hosts=local,bind
| |
| |-- No
| |
| |-- Is IPv6 disabled by policy?
| |
| |-- Yes --> hosts=local4,bind4
| |
| |-- No
| |
| |--> hosts=local,bind4
|
End
IPv6 loopback on VIOS
- IPv6 loopback (::1) is enabled by default on VIOS
- Used internally by system services
- Does not imply IPv6 external networking
Resolver settings that disable it may unintentionally disrupt VIOS startup and internal services.
Common symptoms of resolver misconfiguration:
- VIO_INFO messages indicating hostname resolution failures
- Change manager exiting during startup
- CMDB fatal export bundles created under:
/home/ios/logs/cmdb.fatal.exp/
- PostgreSQL-related messages during boot
- System reaches multi-user mode but internal services are degraded
Verification steps:
Test resolution of names and IPs using nslookup if a name server is used in /etc/resolv.conf.
# nslookup 1.2.3.4
# nslookup myhostname.mydomain
# host 1.2.3.4
# host myhostname.mydomain
Server: 9.0.130.50
Address: 9.0.130.50#53
117.176.19.9.in-addr.arpa name = vios2.dfw.ibm.com.
Server: 9.0.130.50
Address: 9.0.130.50#53
Name: vios2.dfw.ibm.com
Address: 9.19.176.117
vios2.dfw.ibm.com is 9.19.176.117
# host vios2.dfw.ibm.com
vios2.dfw.ibm.com is 9.19.176.117
Answer
Hostname resolution is a foundational dependency on VIOS.
Understanding the distinction between local vs bind and IPv4 vs IPv6 qualifiers is essential when configuring /etc/netsvc.conf.
Allowing IPv6 locally while controlling external DNS usage provides the safest and most robust configuration for most VIOS deployments.
Best practice recommendation:
For the majority of VIOS environments:
hosts=local,bind4
- Preserves IPv6 loopback for internal services
- Prevents dependency on IPv6 DNS
- Aligns with stable VIOS startup behavior
Additional Information
SUPPORT
If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.
1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.
2. Capture any logs or data relevant to the situation.
3. Contact IBM to open a case:
-For electronic support, see the IBM Support Community:
https://www.ibm.com/mysupport
-If you require telephone support, see the web page:
https://www.ibm.com/planetwide/
4. Provide a clear, concise description of the issue.
- For more information, see: Working with IBM AIX Support: Describing the problem.
5. If the system is accessible, collect a system snap, and upload all of the details and data for your case.
- For more information, see: Working with IBM AIX Support: Collecting snap data
Author: Ahmed Deif - ahmed.deif@ibm.com
Was this topic helpful?
Document Information
Modified date:
02 February 2026
UID
ibm17259383