Packages

o

akka.io.dns

DnsProtocol

object DnsProtocol

Supersedes akka.io.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).

Source
DnsProtocol.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DnsProtocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Ip(ipv4: Boolean = true, ipv6: Boolean = true) extends RequestType with Product with Serializable
  2. sealed trait RequestType extends AnyRef
  3. final case class Resolve(name: String, requestType: RequestType) extends Product with Serializable
  4. final case class Resolved(name: String, records: Seq[ResourceRecord], additionalRecords: Seq[ResourceRecord]) extends NoSerializationVerificationNeeded with Product with Serializable

    name

    of the record

    records

    resource records for the query

    additionalRecords

    records that relate to the query but are not strictly answers

Value Members

  1. def ipRequestType(): RequestType

    Java API

  2. def ipRequestType(ipv4: Boolean, ipv6: Boolean): RequestType

    Java API

  3. def resolve(name: String, requestType: RequestType): Resolve

    Java API

  4. def resolve(name: String): Resolve

    Java API

  5. def srvRequestType(): RequestType

    Java API

  6. object Resolve extends Serializable
  7. object Resolved extends Serializable
  8. object Srv extends RequestType with Product with Serializable