Skip to content

PythonQt.QtNetwork.QDnsLookup · declarations 001

Back to PythonQt.QtNetwork.QDnsLookup

A instance-attribute

A: Any

AAAA instance-attribute

AAAA: Any

ANY instance-attribute

ANY: Any

CNAME instance-attribute

CNAME: Any

InvalidReplyError instance-attribute

InvalidReplyError: Any

InvalidRequestError instance-attribute

InvalidRequestError: Any

MX instance-attribute

MX: Any

NS instance-attribute

NS: Any

NotFoundError instance-attribute

NotFoundError: Any

OperationCancelledError instance-attribute

OperationCancelledError: Any

PTR instance-attribute

PTR: Any

ResolverError instance-attribute

ResolverError: Any

SRV instance-attribute

SRV: Any

ServerFailureError instance-attribute

ServerFailureError: Any

ServerRefusedError instance-attribute

ServerRefusedError: Any

TXT instance-attribute

TXT: Any

abort

abort() -> None

X.abort()

Supplemental documentation: Qt 5 reference:

[slot] void QDnsLookup::abort()

Aborts the DNS lookup operation.

If the lookup is already finished, does nothing.

Upstream PySide2 reference signatures (binding differences may apply):

abort(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#abort

canonicalNameRecords

canonicalNameRecords() -> tuple

X.canonicalNameRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsDomainNameRecord> QDnsLookup::canonicalNameRecords() const

Returns the list of canonical name records associated with this lookup.

Upstream PySide2 reference signatures (binding differences may apply):

canonicalNameRecords(self) -> typing.List[PySide2.QtNetwork.QDnsDomainNameRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#canonicalNameRecords

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtNetwork.QDnsLookup.destroyed; argument details are not documented.

error instance-attribute

error: Any

Qt 5 reference:

error : const Error

This property holds the type of error that occurred if the DNS lookup failed, or NoError.

Access functions:

QDnsLookup::Error error() const

Notifier signal:

void finished()

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#error

errorString instance-attribute

errorString: str

Qt 5 reference:

errorString : const QString

This property holds a human-readable description of the error if the DNS lookup failed.

Access functions:

QString errorString() const

Notifier signal:

void finished()

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#errorString

finished

finished(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtNetwork.QDnsLookup.finished; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QDnsLookup::finished()

This signal is emitted when the reply has finished processing.

Note: Notifier signal for property error. Notifier signal for property errorString.

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#finished

hostAddressRecords

hostAddressRecords() -> tuple

X.hostAddressRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsHostAddressRecord> QDnsLookup::hostAddressRecords() const

Returns the list of host address records associated with this lookup.

Upstream PySide2 reference signatures (binding differences may apply):

hostAddressRecords(self) -> typing.List[PySide2.QtNetwork.QDnsHostAddressRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#hostAddressRecords

isFinished

isFinished() -> bool

X.isFinished() -> bool

Supplemental documentation: Qt 5 reference:

bool QDnsLookup::isFinished() const

Returns whether the reply has finished or was aborted.

Upstream PySide2 reference signatures (binding differences may apply):

isFinished(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#isFinished

lookup

lookup() -> None

X.lookup()

Supplemental documentation: Qt 5 reference:

[slot] void QDnsLookup::lookup()

Performs the DNS lookup.

The finished() signal is emitted upon completion.

Upstream PySide2 reference signatures (binding differences may apply):

lookup(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#lookup

mailExchangeRecords

mailExchangeRecords() -> tuple

X.mailExchangeRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsMailExchangeRecord> QDnsLookup::mailExchangeRecords() const

Returns the list of mail exchange records associated with this lookup.

The records are sorted according to RFC 5321, so if you use them to connect to servers, you should try them in the order they are listed.

Upstream PySide2 reference signatures (binding differences may apply):

mailExchangeRecords(self) -> typing.List[PySide2.QtNetwork.QDnsMailExchangeRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#mailExchangeRecords

name instance-attribute

name: str

Qt 5 reference:

name : QString

This property holds the name to lookup.

Note: The name will be encoded using IDNA, which means it's unsuitable for querying SRV records compatible with the DNS-SD specification.

Access functions:

QString name() const
void setName(const QString \&name)

Notifier signal:

void nameChanged(const QString \&name)

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#name

nameChanged

nameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtNetwork.QDnsLookup.nameChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QDnsLookup::nameChanged(const QString \&name)

This signal is emitted when the lookup name changes. name is the new lookup name.

Note: Notifier signal for property name.

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#nameChanged

nameServerRecords

nameServerRecords() -> tuple

X.nameServerRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsDomainNameRecord> QDnsLookup::nameServerRecords() const

Returns the list of name server records associated with this lookup.

Upstream PySide2 reference signatures (binding differences may apply):

nameServerRecords(self) -> typing.List[PySide2.QtNetwork.QDnsDomainNameRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#nameServerRecords

nameserver instance-attribute

nameserver: QHostAddress

Qt 5 reference:

nameserver : QHostAddress

This property holds the nameserver to use for DNS lookup.

Access functions:

QHostAddress nameserver() const
void setNameserver(const QHostAddress \&nameserver)

Notifier signal:

void nameserverChanged(const QHostAddress \&nameserver)

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#nameserver

nameserverChanged

nameserverChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtNetwork.QDnsLookup.nameserverChanged; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtNetwork.QDnsLookup.objectNameChanged; argument details are not documented.

pointerRecords

pointerRecords() -> tuple

X.pointerRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsDomainNameRecord> QDnsLookup::pointerRecords() const

Returns the list of pointer records associated with this lookup.

Upstream PySide2 reference signatures (binding differences may apply):

pointerRecords(self) -> typing.List[PySide2.QtNetwork.QDnsDomainNameRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#pointerRecords

serviceRecords

serviceRecords() -> tuple

X.serviceRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsServiceRecord> QDnsLookup::serviceRecords() const

Returns the list of service records associated with this lookup.

The records are sorted according to RFC 2782, so if you use them to connect to servers, you should try them in the order they are listed.

Upstream PySide2 reference signatures (binding differences may apply):

serviceRecords(self) -> typing.List[PySide2.QtNetwork.QDnsServiceRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#serviceRecords

setName

setName(name: str) -> None

X.setName(name)

Upstream PySide2 reference signatures (binding differences may apply):

setName(self, name: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#setName

setNameserver

setNameserver(nameserver: Any) -> None

X.setNameserver(nameserver)

Upstream PySide2 reference signatures (binding differences may apply):

setNameserver(self, nameserver: PySide2.QtNetwork.QHostAddress) -> None

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#setNameserver

setType

setType(arg__1: Any) -> None

X.setType(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setType(self, arg__1: PySide2.QtNetwork.QDnsLookup.Type) -> None

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#setType

textRecords

textRecords() -> tuple

X.textRecords() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QDnsTextRecord> QDnsLookup::textRecords() const

Returns the list of text records associated with this lookup.

Upstream PySide2 reference signatures (binding differences may apply):

textRecords(self) -> typing.List[PySide2.QtNetwork.QDnsTextRecord]

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#textRecords

type instance-attribute

type: Any

Qt 5 reference:

type : Type

This property holds the type of DNS lookup.

Access functions:

QDnsLookup::Type type() const
void setType(QDnsLookup::Type)

Notifier signal:

void typeChanged(QDnsLookup::Type type)

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#type

typeChanged

typeChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtNetwork.QDnsLookup.typeChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QDnsLookup::typeChanged(QDnsLookup::Type type)

This signal is emitted when the lookup type changes. type is the new lookup type.

Note: Notifier signal for property type.

Source: https://doc.qt.io/archives/qt-5.15/qdnslookup.html#typeChanged