1 # -*- encoding: utf-8 -*-
2 # $Id: __init__.py,v 1.8.2.9 2011/03/16 20:06:39 customdesigned Exp $
4 # This file is part of the pydns project.
5 # Homepage: http://pydns.sourceforge.net
7 # This code is covered by the standard Python License. See LICENSE for details.
10 # __init__.py for DNS class.
14 import Type,Opcode,Status,Class
15 from Base import DnsRequest, DNSError
16 from Lib import DnsResult
25 # $Log: __init__.py,v $
26 # Revision 1.8.2.9 2011/03/16 20:06:39 customdesigned
27 # Refer to explicit LICENSE file.
29 # Revision 1.8.2.8 2011/03/03 21:57:15 customdesigned
32 # Revision 1.8.2.7 2009/06/09 18:05:29 customdesigned
35 # Revision 1.8.2.6 2008/08/01 04:01:25 customdesigned
38 # Revision 1.8.2.5 2008/07/28 02:11:07 customdesigned
41 # Revision 1.8.2.4 2008/07/28 00:17:10 customdesigned
42 # Randomize source ports.
44 # Revision 1.8.2.3 2008/07/24 20:10:55 customdesigned
45 # Randomize tid in requests, and check in response.
47 # Revision 1.8.2.2 2007/05/22 21:06:52 customdesigned
48 # utf-8 in __init__.py
50 # Revision 1.8.2.1 2007/05/22 20:39:20 customdesigned
53 # Revision 1.8 2002/05/06 06:17:49 anthonybaxter
54 # found that the old README file called itself release 2.2. So make
57 # Revision 1.7 2002/05/06 06:16:15 anthonybaxter
58 # make some sort of reasonable version string. releasewards ho!
60 # Revision 1.6 2002/03/19 13:05:02 anthonybaxter
61 # converted to class based exceptions (there goes the python1.4 compatibility :)
63 # removed a quite gross use of 'eval()'.
65 # Revision 1.5 2002/03/19 12:41:33 anthonybaxter
66 # tabnannied and reindented everything. 4 space indent, no tabs.
69 # Revision 1.4 2001/11/26 17:57:51 stroeder
72 # Revision 1.3 2001/08/09 09:08:55 anthonybaxter
73 # added identifying header to top of each file
75 # Revision 1.2 2001/07/19 06:57:07 anthony