Part of twisted.names.dns View Source View In Hierarchy
Message
contains all the information represented by a single DNS request or
response.| 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 | Undocumented |
| Method | fromStr | Undocumented |
| Parameters | name | The name to query. (type: str) |
| 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) | |