From 8e0b9b58e20e25ca6333220d8cbe90cdd6426dcd Mon Sep 17 00:00:00 2001 From: Renato Cavalcanti Date: Fri, 12 Oct 2018 19:16:00 +0200 Subject: [PATCH] fixed typo in DNS extension documentation (#25789) --- akka-docs/src/main/paradox/io-dns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/src/main/paradox/io-dns.md b/akka-docs/src/main/paradox/io-dns.md index c0bf5ce2de..4c61d83208 100644 --- a/akka-docs/src/main/paradox/io-dns.md +++ b/akka-docs/src/main/paradox/io-dns.md @@ -33,7 +33,7 @@ Java : @@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. -`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 and it wasn't possible to evolve the original API in a backward compatible way.