Interface TargetAddress.Builder

  • Method Details

    • ip

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

      Parameters:
      ip - One IPv4 address that you want to forward DNS queries to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

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

      Parameters:
      port - The port at Ip that you want to forward DNS queries to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6

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

      Parameters:
      ipv6 - One IPv6 address that you want to forward DNS queries to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      TargetAddress.Builder protocol(String protocol)

      The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.

      For an inbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 and DoH-FIPS in combination.

      • Do53 alone.

      • DoH alone.

      • DoH-FIPS alone.

      • None, which is treated as Do53.

      For an outbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 alone.

      • DoH alone.

      • None, which is treated as Do53.

      Parameters:
      protocol - The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.

      For an inbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 and DoH-FIPS in combination.

      • Do53 alone.

      • DoH alone.

      • DoH-FIPS alone.

      • None, which is treated as Do53.

      For an outbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 alone.

      • DoH alone.

      • None, which is treated as Do53.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      TargetAddress.Builder protocol(Protocol protocol)

      The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.

      For an inbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 and DoH-FIPS in combination.

      • Do53 alone.

      • DoH alone.

      • DoH-FIPS alone.

      • None, which is treated as Do53.

      For an outbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 alone.

      • DoH alone.

      • None, which is treated as Do53.

      Parameters:
      protocol - The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.

      For an inbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 and DoH-FIPS in combination.

      • Do53 alone.

      • DoH alone.

      • DoH-FIPS alone.

      • None, which is treated as Do53.

      For an outbound endpoint you can apply the protocols as follows:

      • Do53 and DoH in combination.

      • Do53 alone.

      • DoH alone.

      • None, which is treated as Do53.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverNameIndication

      TargetAddress.Builder serverNameIndication(String serverNameIndication)

      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.

      Parameters:
      serverNameIndication - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.