the DNS name to lookup the record for
the type of DNS record to lookup
a GCancellable, or NULL. [allow-none]
a GList of GVariant, or NULL on error. You must free each of the records and the list when you are done with it. (You can use g_list_free_full() with g_variant_unref() to do this.). [element-type GVariant][transfer full]
GException on failure.
Synchronously performs a DNS record lookup for the given rrname and returns a list of records as GVariant tuples. See GResolverRecordType for information on what the records contain for each record_type. If the DNS resolution fails, error (if non-NULL) will be set to a value from GResolverError. If cancellable is non-NULL, it can be used to cancel the operation, in which case error (if non-NULL) will be set to G_IO_ERROR_CANCELLED. Since 2.34