Originally posted by: SystemAdmin
I do think that, you need to tune/work on both /etc/resolv.conf as well as the time out variables on /etc/environment.following information might give you some idea about time out variables.
Following is best practice to avoid the long wait by client before it times out on particular DNS SERVER.
Configure multiple nameserver directives - the resolv.conf file should contain multiple DNS Servers to ensure DNS resolution resilience. Having more than one nameserver directive will ensure that the resolver will query other servers if the first nameserver doesn't respond. The resolver queries the name servers in the order in which they are entered in the resolv.conf.
Configure options retry - The options retry directive sets the number of times the resolver will query each nameserver. Since DNS resolution takes place over UDP, it is wise to instruct the resolver to issue at least one retry to a name server before giving up and moving on to the next name server in the list.
Configure options retrans - The options retrans directive sets the retransmit timeout in seconds that the resolver should wait before timing out. By setting this value to 1 second, you can ensure that the resolver doesn't take too long between queries to a particular name server.
-
export RES_RETRY=8
-
export RES_TIMEOUT=2
These variables can be added on /etc/environment
Default AIX takes 75 seconds for timeout,with above configuration the timeout is 8+16=24 seconds
#AIX-Forum