The QDnsMailExchangeRecord class stores information about a DNS MX record. More...
Header: | #include <QDnsMailExchangeRecord> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Network) target_link_libraries(mytarget PRIVATE Qt6::Network) |
qmake: | QT += network |
QDnsMailExchangeRecord(const QDnsMailExchangeRecord &other) | |
QDnsMailExchangeRecord() | |
QDnsMailExchangeRecord & | operator=(const QDnsMailExchangeRecord &other) |
~QDnsMailExchangeRecord() | |
QString | exchange() const |
QString | name() const |
quint16 | preference() const |
void | swap(QDnsMailExchangeRecord &other) |
quint32 | timeToLive() const |
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 QDnsLookup.
Constructs a copy of other.
Constructs an empty mail exchange record object.
Assigns the data of the other object to this record object, and returns a reference to it.
Destroys a mail exchange record.
Returns the domain name of the mail exchange for this record.
Returns the name for this record.
Returns the preference for this record.
Swaps this mail exchange record with other. This function is very fast and never fails.
Returns the duration in seconds for which this record is valid.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: