fixed typo in DNS extension documentation (#25789)

This commit is contained in:
Renato Cavalcanti 2018-10-12 19:16:00 +02:00 committed by Christopher Batey
parent d9a41f5e23
commit 8e0b9b58e2

View file

@ -33,7 +33,7 @@ Java
: @@snip [DnsCompileOnlyDocTest.java](/akka-docs/src/test/java/jdocs/actor/io/dns/DnsCompileOnlyDocTest.java) { #resolve } : @@snip [DnsCompileOnlyDocTest.java](/akka-docs/src/test/java/jdocs/actor/io/dns/DnsCompileOnlyDocTest.java) { #resolve }
Alternatively the `IO(Dns)` actor can be interacted with directly. However this exposes the different protocols of the DNS provider. Alternatively the `IO(Dns)` actor can be interacted with directly. However this exposes the different protocols of the DNS provider.
`inet-adddress` uses `Dns.Resolved` and `Dns.Resolved` where as the `async-dns` uses `DnsProtocol.Resolve` and `DnsProtocol.Resolved`. `inet-adddress` uses `Dns.Resolve` and `Dns.Resolved` where as the `async-dns` uses `DnsProtocol.Resolve` and `DnsProtocol.Resolved`.
The reason for the difference is `inet-address` predates `async-dns` and `async-dns` exposes additional information such as SRV records The reason for the difference is `inet-address` predates `async-dns` and `async-dns` exposes additional information such as SRV records
and it wasn't possible to evolve the original API in a backward compatible way. and it wasn't possible to evolve the original API in a backward compatible way.