Gets the default #GResolver. You should unref it when you are done with it. #GResolver may use its reference count as a hint about how many threads it should allocate for concurrent DNS resolutions.
Get the timeout applied to all resolver lookups. See #GResolver:timeout.
Synchronously reverse-resolves address to determine its associated hostname.
Begins asynchronously reverse-resolving address to determine its associated hostname, and eventually calls callback, which must call gio.resolver.Resolver.lookupByAddressFinish to get the final result.
Retrieves the result of a previous call to gio.resolver.Resolver.lookupByAddressAsync.
Synchronously resolves hostname to determine its associated IP address(es). hostname may be an ASCII-only or UTF-8 hostname, or the textual form of an IP address (in which case this just becomes a wrapper around gio.inet_address.InetAddress.newFromString).
Begins asynchronously resolving hostname to determine its associated IP address(es), and eventually calls callback, which must call gio.resolver.Resolver.lookupByNameFinish to get the result. See gio.resolver.Resolver.lookupByName for more details.
Retrieves the result of a call to gio.resolver.Resolver.lookupByNameAsync.
This differs from gio.resolver.Resolver.lookupByName in that you can modify the lookup behavior with flags. For example this can be used to limit results with gio.types.ResolverNameLookupFlags.Ipv4Only.
Begins asynchronously resolving hostname to determine its associated IP address(es), and eventually calls callback, which must call gio.resolver.Resolver.lookupByNameWithFlagsFinish to get the result. See gio.resolver.Resolver.lookupByName for more details.
Retrieves the result of a call to gio.resolver.Resolver.lookupByNameWithFlagsAsync.
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.
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.
Retrieves the result of a previous call to gio.resolver.Resolver.lookupRecordsAsync. Returns a non-empty list of records as #GVariant tuples. See #GResolverRecordType for information on what the records contain.
Synchronously performs a DNS SRV lookup for the given service and protocol in the given domain and returns an array of #GSrvTarget. domain may be an ASCII-only or UTF-8 hostname. Note also that the service and protocol arguments do not include the leading underscore that appears in the actual DNS entry.
Begins asynchronously performing a DNS SRV lookup for the given service and protocol in the given domain, and eventually calls callback, which must call gio.resolver.Resolver.lookupServiceFinish to get the final result. See gio.resolver.Resolver.lookupService for more details.
Retrieves the result of a previous call to gio.resolver.Resolver.lookupServiceAsync.
Sets resolver to be the application's default resolver (reffing resolver, and unreffing the previous default resolver, if any). Future calls to gio.resolver.Resolver.getDefault will return this resolver.
Set the timeout applied to all resolver lookups. See #GResolver:timeout.
Connect to Reload signal.
#GThreadedResolver is an implementation of #GResolver which calls the libc lookup functions in threads to allow them to run asynchronously.