DNS

  • The result of matching the rule to DNS request.

    • Real: The request matches the rule and the connection can be done with a real IP address.
    • Fake: The request matches the rule but we need to identify this session when a later connection is fired with an IP address instead of the host domain.
    • Unknown: The match type is DNSSessionMatchType.Domain but rule needs the resolved IP address.
    • Pass: This rule does not match the request.
    See more

    Declaration

    Swift

    public enum DNSSessionMatchResult
  • The information available in current round of matching.

    Since we want to speed things up, we first match the request without resolving it (.Domain). If any rule returns .Unknown, we lookup the request and rematches that rule (.IP).

    • Domain: Only domain information is available.
    • IP: The IP address is resolved.
    See more

    Declaration

    Swift

    public enum DNSSessionMatchType