Go to the latest version of this document.

# ``twisted`.`names`.`dns`.`Record_SPF``

class documentation

`class Record_SPF(Record_TXT): (source)`

Constructor: `Record_SPF(*data, **kw)`

View In Hierarchy

Structurally, freeform text. Semantically, a policy definition, formatted as defined in rfc 4408.

Class Variable | `fancybasename` | Undocumented
Instance Variable | `data` | Freeform text which makes up this record.
Instance Variable | `ttl` | The maximum number of seconds which this record should be cached.

Inherited from `Record_TXT`:

Method | `__hash__` | Undocumented
Method | `__init__` | Undocumented
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.
Class Variable | `compareAttributes` | Undocumented
Class Variable | `showAttributes` | Undocumented

Inherited from `FancyEqMixin` (via `Record_TXT`):

Method | `__eq__` | Undocumented
Method | `__ne__` | Undocumented

Inherited from `FancyStrMixin` (via `Record_TXT`, `FancyEqMixin`):

Method | `__str__` | Undocumented

fancybasename: `str` = (source)
overrides `twisted.names.dns.Record_TXT.fancybasename`

Undocumented

data: `list` of `bytes` = (source)
overrides `twisted.names.dns.Record_TXT.data`

Freeform text which makes up this record.

ttl: `int` = (source)
overrides `twisted.names.dns.Record_TXT.ttl`

The maximum number of seconds which this record should be cached.