Go to the latest version of this document.

# ``twisted`.`names`.`dns`.`IEncodableRecord``

interface documentation

`class IEncodableRecord(IEncodable, IRecord): (source)`

Known implementations: `twisted.names.dns.Record_A`, `twisted.names.dns.Record_A6`, `twisted.names.dns.Record_AAAA`, `twisted.names.dns.Record_AFSDB`, `twisted.names.dns.Record_HINFO`, `twisted.names.dns.Record_MINFO`, `twisted.names.dns.Record_MX`, `twisted.names.dns.Record_NAPTR`, `twisted.names.dns.Record_NULL`, `twisted.names.dns.Record_RP`, `twisted.names.dns.Record_SOA`, `twisted.names.dns.Record_SRV`, `twisted.names.dns.Record_SSHFP`, `twisted.names.dns.Record_TSIG`, `twisted.names.dns.Record_TXT`, `twisted.names.dns.Record_WKS`, `twisted.names.dns.SimpleRecord`, `twisted.names.dns.UnknownRecord`

View In Hierarchy

Interface for DNS records that can be encoded and decoded.

Present Since
Twisted 21.2.0

Inherited from `IEncodable`:

Method | `decode` | Reconstruct an object from data read from the given file object.
Method | `encode` | Write a representation of this object to the given file object.

Inherited from `IRecord` (via `IEncodable`):

Attribute | `TYPE` | An indicator of what kind of record this is.