Steps to reproduce:
- Install Agent on Windows
- Try with correct DNS entries to get value from another machine:
- Try with incorrect DNS entries to get value from another machine (the more incorrect entries you have, the more time you need):
On Linux it's not a problem, since ncsd daemon will cache negative answers, but on Windows you can see errors like:
By default, Windows stores positive responses in the DNS cache for 86,400 seconds (i.e., 1 day) and stores negative responses for 300 seconds (5 minutes).
Do not fail with timeout with negative DNS in the Server= option.