the hostname to look up
extra #GResolverNameLookupFlags for the lookup
a #GCancellable, or null
a non-empty #GList of #GInetAddress, or null on error. You must unref each of the addresses and free the list when you are done with it. (You can use gio.resolver.Resolver.freeAddresses to do this.)
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.