We have 2 DNS Server wich are in the /etc/resolv.conf.
When the first DNS Server is down, it takes 5 second (wich is the default value of the RES_TIMEOUT variable) to a "PING" to succeed. And it takes more than 1 minute to a "TELNET" to succeed.
I test this situation I describe above but with these 2 variables set like this:
RES_TIMEOUT=1
RES_RETRY=1
The PING takes 1 second & the TELNET takes 3 seconds.
It's OK for me.
My question is:
Is there an impact for some other applications to change the value of this environment variable?
Any information will be appreciate...
When the first DNS Server is down, it takes 5 second (wich is the default value of the RES_TIMEOUT variable) to a "PING" to succeed. And it takes more than 1 minute to a "TELNET" to succeed.
I test this situation I describe above but with these 2 variables set like this:
RES_TIMEOUT=1
RES_RETRY=1
The PING takes 1 second & the TELNET takes 3 seconds.
It's OK for me.
My question is:
Is there an impact for some other applications to change the value of this environment variable?
Any information will be appreciate...