PR #3534 added support for targets being defined by DNS hostname in addition to IP address, but this adds potential for non-deterministic delays to the main measurement loop. Each DNS timeout can add several seconds to the loop.
Proposal: Move DNS lookups into a separate loop, which runs on startup and every 5 minutes. If the measurement loop runs before one of the DNS names has been resolved to an IP address, that target is skipped.
Related: How can we surface DNS resolution errors to users?
PR #3534 added support for targets being defined by DNS hostname in addition to IP address, but this adds potential for non-deterministic delays to the main measurement loop. Each DNS timeout can add several seconds to the loop.
Proposal: Move DNS lookups into a separate loop, which runs on startup and every 5 minutes. If the measurement loop runs before one of the DNS names has been resolved to an IP address, that target is skipped.
Related: How can we surface DNS resolution errors to users?