Originally posted by: maliverney
Hi,
I can't use options timeout and attempts in /etc/resolv.conf
oslevel -s
6100-02-02-0849
Here my /etc/resolv.conf
options attempts:1
options timeout:1
domain internet.sf.intra.laposte.fr
nameserver 172.26.1.2
nameserver 172.26.1.10
when i do a nslookup, he don't do One attempts of 1 second
-
time nslookup toto
;; Got SERVFAIL reply from 172.26.1.2, trying next server
;; connection timed out; no servers could be reached
real 0m14.97s
user 0m0.01s
sys 0m0.01s
The options doesn't work.
The only way i have is to force timeout to 1 and attemps to 1 in nslookup command
-
nslookup
> set timeout=1
> set retry=1
> toto
;; Got SERVFAIL reply from 172.26.1.2, trying next server
;; connection timed out; no servers could be reached
And then i have well the 1 second and 1 attempts.
I also put RES_RETRY=1 and RES_TIMEOUT=1 in /etc/environment but it doesn't any work.
Francois.