QDnsTextRecord露

The QDnsTextRecord class stores information about a DNS TXT record. More鈥�

Inheritance diagram of PySide2.QtNetwork.QDnsTextRecord

Synopsis露

Functions露

Detailed Description露

When performing a text lookup, zero or more records will be returned. Each record is represented by a QDnsTextRecord instance.

The meaning of the fields is defined in RFC 1035 .

See also

QDnsLookup

class PySide2.QtNetwork.QDnsTextRecord露

PySide2.QtNetwork.QDnsTextRecord(other)

param other:

PySide2.QtNetwork.QDnsTextRecord

Constructs an empty text record object.

Constructs a copy of other .

PySide2.QtNetwork.QDnsTextRecord.name()露
Return type:

str

Returns the name for this text record.

PySide2.QtNetwork.QDnsTextRecord.swap(other)露
Parameters:

other 鈥� PySide2.QtNetwork.QDnsTextRecord

Swaps this text record instance with other . This function is very fast and never fails.

PySide2.QtNetwork.QDnsTextRecord.timeToLive()露
Return type:

int

Returns the duration in seconds for which this record is valid.

PySide2.QtNetwork.QDnsTextRecord.values()露
Return type:

Returns the values for this text record.