Ci Network Test: Make DNS timeout configurable, add loss tolerance


Revert the per-lookup DNS timeout back to a 2s default and expose it
via --dns-timeout/--dt, independent of the overall --timeout. A
single 2s hang no longer needs a blanket 30s timeout to be tolerated.

Add --max-losses/--ml to retry a lookup that times out (presumed
dropped UDP packet) up to n times before counting it as an error.
Real server errors (ServerFailureError/ServerRefusedError) are never
retried.

Allow command line arguments to be supplied via the
CI_NETWORK_TESTARGS environment variable, which overrides any
arguments passed on the command line when set and non-empty. The
override is logged.

Update README accordingly.

Change-Id: I34a64503c96d9d64c323843fdb0556b764860e7d
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
commit02b6c94f98d52efa7e9149ff0f67ee768ce6c434
parent9909a3f349b0e7c0f2cff66cc6174eef04c286a6
authorAxel Spoerl <axel.spoerl@qt.io>
committerAxel Spoerl <axel.spoerl@qt.io>
commit timeWed, 19 Aug 2026 14:30:13 +0000