QDnsDomainNameRecord

The QDnsDomainNameRecord class stores information about a domain name record. More

Inheritance diagram of PySide2.QtNetwork.QDnsDomainNameRecord

Synopsis

Functions

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

QDnsLookup

class QDnsDomainNameRecord

QDnsDomainNameRecord(other)

param other

QDnsDomainNameRecord

Constructs an empty domain name record object.

Constructs a copy of other .

PySide2.QtNetwork.QDnsDomainNameRecord.name()
Return type

unicode

Returns the name for this record.

PySide2.QtNetwork.QDnsDomainNameRecord.swap(other)
Parameters

otherQDnsDomainNameRecord

Swaps this domain-name record instance with other . This function is very fast and never fails.

PySide2.QtNetwork.QDnsDomainNameRecord.timeToLive()
Return type

quint32

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

PySide2.QtNetwork.QDnsDomainNameRecord.value()
Return type

unicode

Returns the value for this domain name record.