Class InetAddressDnsResolver
DNS resolver actor that uses GetHostEntryAsync(string) to resolve hostnames and caches results using a SimpleDnsCache.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class InetAddressDnsResolver : ActorBase, IInternalActor
Constructors
| Edit this page View SourceInetAddressDnsResolver(SimpleDnsCache, Config)
Creates a new InetAddressDnsResolver with the specified cache and configuration.
Declaration
public InetAddressDnsResolver(SimpleDnsCache cache, Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| SimpleDnsCache | cache | The DNS cache for storing resolved entries. |
| Config | config | The HOCON configuration specifying TTL and IPv6 settings. |
Methods
| Edit this page View SourceReceive(object)
Processor for user defined messages.
Declaration
protected override bool Receive(object message)
Parameters
| Type | Name | Description |
|---|---|---|
| object | message | The message. |
Returns
| Type | Description |
|---|---|
| bool | TBD |
Edit this page