Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-286

Support configuring the DNS Resolver from something else than `Default::default()`

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.10.0
    • Affects Version/s: None
    • Component/s: None

      Right now the `SrvResolver` is newed will the default configuration: (srv.rs line 24), this means that all domain name resolution is done by google's DNS servers, and restrict name resolution to "public" domain name. I propose that the Resolver can be configured to use the `Resolver::from_system_conf()` method allowing custom DNS server to be used (this would be very useful in kubernetes)

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            rarchambault@devolutions.net Richer Archambault
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: