Synchronously performs a DNS record lookup for the given rrname
and returns a list of records as
Variant tuples.
See ResolverRecordType for information on what the records contain for each
record_type
.
If the DNS resolution fails, throws (if non-null) will be set to a value from ResolverError and null will be returned.
If cancellable
is non-null, it can be used to cancel the operation, in which
case throws (if non-null) will be set to
g_io_error_cancelled.
this |
a Resolver |
rrname |
the DNS name to lookup the record for |
record_type |
the type of DNS record to lookup |
cancellable |
a Cancellable, or null |
a non-empty List of
Variant, or null on error. You must free each of the records and the list when
you are done with it. (You can use |