QDnsDomainNameRecord#
The QDnsDomainNameRecord
class stores information about a domain name record. More…
Synopsis#
Functions#
def
name
()def
swap
(other)def
timeToLive
()def
value
()
Detailed Description#
When performing a name server lookup, zero or more records will be returned. Each record is represented by a QDnsDomainNameRecord
instance.
See also
- class PySide6.QtNetwork.QDnsDomainNameRecord#
PySide6.QtNetwork.QDnsDomainNameRecord(other)
- Parameters
Constructs an empty domain name record object.
Constructs a copy of other
.
- PySide6.QtNetwork.QDnsDomainNameRecord.name()#
- Return type
str
Returns the name for this record.
- PySide6.QtNetwork.QDnsDomainNameRecord.swap(other)#
- Parameters
Swaps this domain-name record instance with other
. This function is very fast and never fails.
- PySide6.QtNetwork.QDnsDomainNameRecord.timeToLive()#
- Return type
int
Returns the duration in seconds for which this record is valid.
- PySide6.QtNetwork.QDnsDomainNameRecord.value()#
- Return type
str
Returns the value for this domain name record.