Hey,
I'm using FreeBSD 13.0-RELEASE-p2 and came to notice that changing the /etc/resolv.conf options attempts and timeout has no effect.
According to the man page, attempts defaults to 2 and timeout defaults to 5. I can verify this by the following setup:
In my setup, the /etc/resolv.conf contains the following lines:
Server with IP 10.0.0.1 does not respond to DNS queries.
A DNS lookup with or without the third "options" line, produces always the same output after 10 seconds, 10.0.0.2 is contacted and the query succeeds.
I must be missing something huge, please advise
I'm using FreeBSD 13.0-RELEASE-p2 and came to notice that changing the /etc/resolv.conf options attempts and timeout has no effect.
According to the man page, attempts defaults to 2 and timeout defaults to 5. I can verify this by the following setup:
In my setup, the /etc/resolv.conf contains the following lines:
Code:
nameserver 10.0.0.1
nameserver 10.0.0.2
options attempts:1 timeout:1
Server with IP 10.0.0.1 does not respond to DNS queries.
A DNS lookup with or without the third "options" line, produces always the same output after 10 seconds, 10.0.0.2 is contacted and the query succeeds.
I must be missing something huge, please advise