hi all,
I've notice that nslookup took a very short time befor output "no
answer from the server" and exit.
I used tcpdump to check what's going
on and I found that sometimes dns took more then a sec to respond, so I
tried to edit /etc/resolv.conf with some options (please see below) but
nothing heppen and morover, the nslookup doesn't respect the timeout
option nor the attemps option written in the file.
alpine@alpibox ~> time nslookup some.host.local
Server: x.x.x.1
Address: x.x.x.1:53
*** Can't find some.host.local: No answer
________________________________________________________
Executed in 62.15 millis fish external
usr time 294.00 micros 294.00 micros 0.00 micros
sys time 627.00 micros 78.00 micros 549.00 micros
alpine@alpibox ~> cat /etc/resolv.conf
nameserver x.x.x.1
nameserver x.x.x.2
nameserver x.x.x.3
options timeout:3
options attempts:2