Skip to content

geolocation: move geoprobe-agent DNS lookups out of measurement loop #3544

@nikw9944

Description

@nikw9944

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions