Interface TargetAddress.Builder

    • Method Detail

      • ip

        TargetAddress.Builder ip​(String 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

        TargetAddress.Builder port​(Integer 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

        TargetAddress.Builder ipv6​(String 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, Protocol
      • 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:
        Protocol, Protocol