QDnsTextRecord¶
The
QDnsTextRecord
class stores information about a DNS TXT record. More…
Synopsis¶
Functions¶
def
name
()def
swap
(other)def
timeToLive
()def
values
()
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 PySide2.QtNetwork.QDnsTextRecord¶
PySide2.QtNetwork.QDnsTextRecord(other)
- param other:
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.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.