gio.types.ResolverRecordType.Txt records are returned as variants with the signature
(as), representing an array of the strings in the text record. Note: Most TXT
records only contain a single string, but
RFC 1035 does allow a
record to contain multiple strings. The RFC which defines the interpretation
of a specific TXT record will likely require concatenation of multiple
strings if they are present, as with
RFC 7208.
The type of record that gio.resolver.Resolver.lookupRecords or gio.resolver.Resolver.lookupRecordsAsync should retrieve. The records are returned as lists of #GVariant tuples. Each record type has different values in the variant tuples returned.
gio.types.ResolverRecordType.Srv records are returned as variants with the signature (qqqs), containing a glib.types.MAXUINT16 with the priority, a glib.types.MAXUINT16 with the weight, a glib.types.MAXUINT16 with the port, and a string of the hostname.
gio.types.ResolverRecordType.Mx records are returned as variants with the signature (qs), representing a glib.types.MAXUINT16 with the preference, and a string containing the mail exchanger hostname.
gio.types.ResolverRecordType.Txt records are returned as variants with the signature (as), representing an array of the strings in the text record. Note: Most TXT records only contain a single string, but RFC 1035 does allow a record to contain multiple strings. The RFC which defines the interpretation of a specific TXT record will likely require concatenation of multiple strings if they are present, as with RFC 7208.
gio.types.ResolverRecordType.Soa records are returned as variants with the signature (ssuuuuu), representing a string containing the primary name server, a string containing the administrator, the serial as a pango.types.uint, the refresh interval as a pango.types.uint, the retry interval as a pango.types.uint, the expire timeout as a pango.types.uint, and the TTL as a pango.types.uint.
gio.types.ResolverRecordType.Ns records are returned as variants with the signature (s), representing a string of the hostname of the name server.