Skip to content
Permalink
Branch: master
Commits on Jan 10, 2020
  1. Merge pull request #43 from Jigsaw-Code/bemasc-protector

    bemasc committed Jan 10, 2020
    Improve protection of DNS queries
  2. Make resolver IP selection more explicit

    bemasc committed Jan 10, 2020
  3. Improve protection of DNS queries

    bemasc committed Jan 10, 2020
    Go on Android cannot determine the system's preferred DNS servers.
    This is normally fine, because Resolver.PreferGo defaults to false,
    but we need to set PreferGo to true when protection is enabled,
    in order to protect the DNS query's UDP socket.
    
    This change requires a Protector to indicate the list of DNS
    servers, so that the Resolver can create a protected socket to
    one of those servers.
You can’t perform that action at this time.