Part of twisted.names.dns View Source View In Hierarchy
Implements interfaces: twisted.names.dns.IEncodable, twisted.names.dns.IRecord
See Also | http://www.faqs.org/rfcs/rfc2915.html |
Instance Variable | order | An integer specifying the order in which the NAPTR records MUST be
processed to ensure the correct ordering of rules. Low numbers are
processed before high numbers. (type: int ) |
Instance Variable | preference | An integer that specifies the order in which NAPTR records with equal
"order" values SHOULD be processed, low numbers being processed
before high numbers. (type: int ) |
Instance Variable | flag | A <character-string> containing flags to control aspects of the
rewriting and interpretation of the fields in the record. Flags aresingle
characters from the set [A-Z0-9]. The case of the alphabetic characters is
not significant.
At this time only four flags, "S", "A", "U", and "P", are defined. (type:Charstr ) |
Instance Variable | service | Specifies the service(s) available down this rewrite path. It may also
specify the particular protocol that is used to talk with a service. A
protocol MUST be specified if the flags field states that the NAPTR is
terminal. (type: Charstr ) |
Instance Variable | regexp | A STRING containing a substitution expression that is applied to the
original string held by the client in order to construct the next domain
name to lookup. (type: Charstr ) |
Instance Variable | replacement | The next NAME to query for NAPTR, SRV, or address records depending on the
value of the flags field. This MUST be a fully qualified domain-name. (type: Name ) |
Instance Variable | ttl | The maximum number of seconds which this record should be cached. (type: int ) |
Method | __init__ | Undocumented |
Method | encode | Write a representation of this object to the given file object. |
Method | decode | Reconstruct an object from data read from the given file object. |
Method | __hash__ | Undocumented |
Inherited from FancyEqMixin:
Method | __eq__ | Undocumented |
Method | __ne__ | Undocumented |
Inherited from FancyStrMixin:
Method | __str__ | Undocumented |
int
)
int
)
At this time only four flags, "S", "A", "U", and "P", are defined.
(type:Charstr
)
Charstr
)
Charstr
)
Name
)
Parameters | strio | The stream to which to write bytes (type: File-like object) |
compDict | A dictionary of backreference addresses that have have already been written
to this stream and that may be used for compression. (type: dict or None ) |
Parameters | strio | The stream from which bytes may be read (type: File-like object) |
length | The number of bytes in this RDATA field. Most implementations can ignore
this value. Only in the case of records similar to TXT where the total
length is in no way encoded in the data is it necessary. (type: int or None ) |