Skip to content

--resolver-address is accepted multiple times, but causes an error at runtime #212

Description

@gautamg795

The docs suggest that the --resolver-address flag can be provided multiple times, e.g.

   --resolver-address ADDRESS                  Make DNS requests to ADDRESS (IP:port).  Repeatable.

However, trying to start smokescreen with multiple resolvers fails:

{"level":"fatal","msg":"Could not create configuration: only one resolver address allowed, 2 provided","time":"2024-02-01T23:20:40.712120055Z"}

It appears support for multiple resolvers hasn't been implemented in the code yet:

// TODO: support round-robin between multiple addresses

Perhaps the docs should be updated first to reflect this, as I suspect the feature itself is nontrivial to implement?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions