Rule

  • The rule defines what to do for DNS requests and connect sessions.

    See more

    Declaration

    Swift

    open class Rule: CustomStringConvertible
  • The rule matches all DNS and connect sessions.

    See more

    Declaration

    Swift

    open class AllRule: Rule
  • The rule matches the session based on the geographical location of the corresponding IP address.

    See more

    Declaration

    Swift

    open class CountryRule: Rule
  • The rule matches the request which failed to look up.

    See more

    Declaration

    Swift

    open class DNSFailRule: Rule