ResolverRecordType


Description:

public enum ResolverRecordType

The type of record that lookup_records or lookup_records_async should retrieve.

The records are returned as lists of Variant tuples. Each record type has different values in the variant tuples returned.

g_resolver_record_srv records are returned as variants with the signature '(qqqs)', containing a guint16 with the priority, a guint16 with the weight, a guint16 with the port, and a string of the hostname.

g_resolver_record_mx records are returned as variants with the signature '(qs)', representing a guint16 with the preference, and a string containing the mail exchanger hostname.

g_resolver_record_txt records are returned as variants with the signature '(as)', representing an array of the strings in the text record.

g_resolver_record_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 guint32, the refresh interval as guint32, the retry interval as a guint32, the expire timeout as a guint32, and the ttl as a guint32.

g_resolver_record_ns records are returned as variants with the signature '(s)', representing a string of the hostname of the name server.


Namespace: GLib
Package: gio-2.0

Content:

Enum values: