Module Values.TargetAddressSource

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.

Sourcetype nonrec t = {
  1. ip : Ip.t option;
    (*

    One IPv4 address that you want to forward DNS queries to.

    *)
  2. port : Port.t option;
    (*

    The port at Ip that you want to forward DNS queries to.

    *)
  3. ipv6 : Ipv6.t option;
    (*

    One IPv6 address that you want to forward DNS queries to.

    *)
  4. protocol : Protocol.t option;
    (*

    The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.

    *)
  5. serverNameIndication : ServerNameIndication.t option;
    (*

    The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the TargetAddress is DoH.

    *)
}
Sourceval make : ?ip:??? -> ?port:??? -> ?ipv6:??? -> ?protocol:??? -> ?serverNameIndication:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Port.t | `String of Ip.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t