Resolver.lookupRecordsAsync

void lookupRecordsAsync(string rrname, gio.types.ResolverRecordType recordType, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Begins asynchronously performing a DNS lookup for the given rrname, and eventually calls callback, which must call [gio.resolver.Resolver.lookupRecordsFinish] to get the final result. See [gio.resolver.Resolver.lookupRecords] for more details.

Parameters

rrnamethe DNS name to look up the record for
recordTypethe type of DNS record to look up
cancellablea #GCancellable, or null
callbackcallback to call after resolution completes