QDnsHostAddressRecord#

The QDnsHostAddressRecord class stores information about a host address record. More

Synopsis#

Functions#

Detailed Description#

When performing an address lookup, zero or more records will be returned. Each record is represented by a QDnsHostAddressRecord instance.

See also

QDnsLookup

class PySide6.QtNetwork.QDnsHostAddressRecord#

PySide6.QtNetwork.QDnsHostAddressRecord(other)

Parameters

otherPySide6.QtNetwork.QDnsHostAddressRecord

Constructs an empty host address record object.

Constructs a copy of other.

PySide6.QtNetwork.QDnsHostAddressRecord.name()#
Return type

str

Returns the name for this record.

PySide6.QtNetwork.QDnsHostAddressRecord.swap(other)#
Parameters

otherPySide6.QtNetwork.QDnsHostAddressRecord

Swaps this host address record instance with other. This function is very fast and never fails.

PySide6.QtNetwork.QDnsHostAddressRecord.timeToLive()#
Return type

int

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

PySide6.QtNetwork.QDnsHostAddressRecord.value()#
Return type

PySide6.QtNetwork.QHostAddress

Returns the value for this host address record.