QDnsDomainNameRecord

PyQt5.QtNetwork.QDnsDomainNameRecord

Description

The QDnsDomainNameRecord class stores information about a domain name record.

When performing a name server lookup, zero or more records will be returned. Each record is represented by a QDnsDomainNameRecord instance.

See also

QDnsLookup.

Methods

__init__()

Constructs an empty domain name record object.


__init__(QDnsDomainNameRecord)

Constructs a copy of other.


name() → str

TODO


swap(QDnsDomainNameRecord)

TODO


timeToLive() → int

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


value() → str

Returns the value for this domain name record.