Resolver class abstract

An independent resolver for DNS requests.

Note that creating a new resolver uses the default server settings. Setting the servers used for a resolver using setServers does not affect other resolvers.

Implementers
Annotations
  • @JS()
  • @anonymous

Constructors

Resolver()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
getServers() List<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(String hostname, String rrtype, void callback(dynamic error, dynamic records)) → void
resolve4(String hostname, dynamic optionsOrCallback, [void callback(dynamic error, dynamic addresses)]) → void
resolve6(String hostname, dynamic optionsOrCallback, [void callback(dynamic error, dynamic addresses)]) → void
resolveAny(String hostname, void callback(dynamic error, List ret)) → void
resolveCname(String hostname, void callback(dynamic error, List<String> ret)) → void
resolveMx(String hostname, void callback(dynamic error, List addresses)) → void
resolveNaptr(String hostname, void callback(dynamic error, List addresses)) → void
resolveNs(String hostname, void callback(dynamic error, List<String> addresses)) → void
resolvePtr(String hostname, void callback(dynamic error, List<String> addresses)) → void
resolveSoa(String hostname, void callback(dynamic error, dynamic address)) → void
resolveSrv(String hostname, void callback(dynamic error, List addresses)) → void
resolveTxt(String hostname, void callback(dynamic error, List<List<String>> records)) → void
reverse(String ip, void callback(dynamic error, List<String> hostnames)) → void
setServers(List<String> servers) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited