QDnsTextRecord#
The QDnsTextRecord
class stores information about a DNS TXT record. More…
Synopsis#
Functions#
def
name
()def
swap
(other)def
timeToLive
()def
values
()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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
- class PySide6.QtNetwork.QDnsTextRecord#
PySide6.QtNetwork.QDnsTextRecord(other)
- Parameters:
other –
PySide6.QtNetwork.QDnsTextRecord
Constructs an empty text record object.
Constructs a copy of other
.
- PySide6.QtNetwork.QDnsTextRecord.name()#
- Return type:
str
Returns the name for this text record.
- PySide6.QtNetwork.QDnsTextRecord.swap(other)#
- Parameters:
other –
PySide6.QtNetwork.QDnsTextRecord
Swaps this text record instance with other
. This function is very fast and never fails.
- PySide6.QtNetwork.QDnsTextRecord.timeToLive()#
- Return type:
int
Returns the duration in seconds for which this record is valid.
- PySide6.QtNetwork.QDnsTextRecord.values()#
- Return type:
Returns the values for this text record.