Part of twisted.names.dns View Source View In Hierarchy
Message
contains all the information represented by a single DNS request or
response.| Instance Variable | rCode | A response code, used to indicate success or failure in a message which is
a response from a server to a client request. (type: 0 <= int < 16) |
| Method | __init__ | Undocumented |
| Method | addQuery | Add another query to this Message. |
| Method | encode | Undocumented |
| Method | decode | Undocumented |
| Method | parseRecords | Undocumented |
| Method | lookupRecordType | Retrieve the IRecord
implementation for the given record type. |
| Method | toStr | Encode this Message into a byte
string in the format described by RFC 1035. |
| Method | fromStr | Decode a byte string in the format described by RFC 1035 into this Message. |
0 <= int < 16)
| Parameters | name | The name to query. (type: bytes) |
| type | Query type (type: int) | |
| cls | Query class (type: int) |
IRecord
implementation for the given record type.| Parameters | type | A record type, such as A or NS. (type: int) |
| Returns | An object which implements IRecord or
None if none can be found for the given type. (type: types.ClassType) | |