Package akka.io.dns

Class DnsProtocol$


  • public class DnsProtocol$
    extends java.lang.Object
    Supersedes Dns protocol.

    Note that one MUST configure akka.io.dns.resolver = async to make use of this protocol and resolver.

    Allows for more detailed lookups, by specifying which records should be checked, and responses can more information than plain IP addresses (e.g. ports for SRV records).

    • Field Detail

      • MODULE$

        public static final DnsProtocol$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • DnsProtocol$

        public DnsProtocol$()
    • Method Detail

      • ipRequestType

        public DnsProtocol.RequestType ipRequestType​(boolean ipv4,
                                                     boolean ipv6)
        Java API
        Parameters:
        ipv4 - (undocumented)
        ipv6 - (undocumented)
        Returns:
        (undocumented)
      • resolve

        public DnsProtocol.Resolve resolve​(java.lang.String name)
        Java API
        Parameters:
        name - (undocumented)
        Returns:
        (undocumented)