000-221 · Question #37
During a recent network outage, the failover to the secondary DNS server was taking too long. The administrator found the RES_RETRY and RES_TIMEOUT values needed to be updated. Where are these…
The correct answer is D. /etc/environment. In AIX, DNS resolver tuning variables including RES_RETRY and RES_TIMEOUT are global environment variables defined in /etc/environment, which is applied system-wide at startup.
Question
During a recent network outage, the failover to the secondary DNS server was taking too long. The administrator found the RES_RETRY and RES_TIMEOUT values needed to be updated. Where are these values updated?
Options
- A/etc/inetd.conf
- B/etc/rc.net
- C/etc/security/limits
- D/etc/environment
How the community answered
(39 responses)- A3% (1)
- B8% (3)
- C13% (5)
- D77% (30)
Why each option
In AIX, DNS resolver tuning variables including RES_RETRY and RES_TIMEOUT are global environment variables defined in /etc/environment, which is applied system-wide at startup.
/etc/inetd.conf defines services managed by the inetd super-server daemon and has no relationship to DNS resolver retry or timeout behavior.
/etc/rc.net is a boot-time shell script that brings up network interfaces and configures static routes but does not govern DNS resolver parameters.
/etc/security/limits enforces per-user resource constraints such as CPU time and file descriptors and is entirely unrelated to DNS resolver configuration.
The /etc/environment file in AIX holds system-wide environment variables that are inherited by all processes at login and initialization time. The AIX resolver library reads RES_RETRY and RES_TIMEOUT from this file to control how many times and how long it waits before failing over to the next DNS server, making /etc/environment the correct and only location where these resolver tuning values are set.
Concept tested: AIX DNS resolver timeout and retry tuning location
Source: https://www.ibm.com/docs/en/aix/7.2?topic=files-etcenvironment-file
Topics
Community Discussion
No community discussion yet for this question.