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