Go to the latest version of this document.

# ``twisted`.`internet`.`interfaces`.`IHostResolution``

interface documentation

`class IHostResolution(Interface): (source)`

Known implementations: `twisted.internet._resolver.HostResolution`, `twisted.internet.testing._SynchronousResolution`

View In Hierarchy

An `IHostResolution` represents represents an in-progress recursive query for a DNS name.

Present Since
Twisted 17.1.0

Method | `cancel` | Stop the hostname resolution in progress.
Attribute | `name` | `unicode`; the name of the host being resolved.

def cancel(): (source)

Stop the hostname resolution in progress.

name = (source)

`unicode`; the name of the host being resolved.