| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix type lint from latest mypy. | Bob Halley | 2022-11-24 | 1 | -1/+1 |
| | | |||||
| * | black autoformatting | Bob Halley | 2022-03-15 | 1 | -48/+108 |
| | | |||||
| * | One more pass, after adding --disallow-incomplete-defs | Bob Halley | 2022-03-11 | 1 | -7/+7 |
| | | |||||
| * | Typing pass number 2, featuring typing of bools, adding a return type | Bob Halley | 2022-03-10 | 1 | -12/+14 |
| | | | | | | of "-> None" to procedures, and various fixes for omissions, errors, and new issues discovered by type checking previously unchecked things. | ||||
| * | Add integrated typing to much of dnspython. | Bob Halley | 2022-03-05 | 1 | -19/+25 |
| | | |||||
| * | more lgtm linting | Bob Halley | 2022-02-17 | 1 | -1/+1 |
| | | |||||
| * | fix case of enum namesconstants2 | Bob Halley | 2020-08-03 | 1 | -2/+2 |
| | | |||||
| * | remove globals() enum updating | Bob Halley | 2020-08-03 | 1 | -2/+0 |
| | | |||||
| * | add constants | Bob Halley | 2020-08-03 | 1 | -0/+9 |
| | | |||||
| * | Add dns.tsig.Key class. | Brian Wellington | 2020-07-01 | 1 | -12/+2 |
| | | | | | | | | | | | | | | | | | | | | | This creates a new class to represent a TSIG key, containing name, secret, and algorithm. The keyring format is changed to be {name : key}, and the methods in dns.tsigkeyring are updated to deal with old and new formats. The Message class is updated to use dns.tsig.Key, although (to avoid breaking existing code), it stores them in the keyring field. Message.use_tsig() can accept either explicit keys, or keyrings; it will extract and/or create a key. dns.message.from_wire() can accept either a key or a keyring in the keyring parameter. If passed a key, it will now raise if the TSIG record in the message was signed with a different key. If passed a keyring containing keys (as opposed to bare secrets), it will check that the TSIG record's algorithm matches that of the key. | ||||
| * | minor (cosmetic) fix to update sections | Nick Hall | 2020-06-29 | 1 | -3/+3 |
| | | |||||
| * | Refactor OPT handling code into OPT record class. (#520) | Brian Wellington | 2020-06-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create an OPT record class. * Move OPT logic to one place. * Store the OPT record on the message object. This also adds a Renderer.add_rdata() method. * Add Rdataset.rdata_to_wire() helper. * Fix conflicts; simplify. * Fix typo. * style * Add a trivial to_text so that repr() works. * Add _parse_special_rr_header * More OPT checking. Pass the name to _parse_rr_header and _parse_special_rr_header, and check that the OPT record has the root name. | ||||
| * | Simplify code. | Brian Wellington | 2020-06-26 | 1 | -5/+4 |
| | | | | | | There's no need to attach an attribute to the _TextReader/_WireReader classes; the code has access to the message. | ||||
| * | Attempt to refactor per-opcode validation.message | Brian Wellington | 2020-06-26 | 1 | -9/+16 |
| | | | | | | | | | Instead of validating rrsets and sections after parsing them, check the class/type for each record before parsing it. This is more generic, because it moves all of the update logic out of the common code. It's also more flexible, as it allows the update logic to specify that meta-records are empty. | ||||
| * | basic documentation updates for revised message hierarchy | Bob Halley | 2020-06-26 | 1 | -0/+3 |
| | | |||||
| * | new message class hierarchy and conversion of wire and text readers | Bob Halley | 2020-06-25 | 1 | -25/+28 |
| | | |||||
| * | set update section globals for convenience; fix formatting | Bob Halley | 2020-06-25 | 1 | -0/+2 |
| | | |||||
| * | make sections a list; propertize question, answer, etc. | Bob Halley | 2020-06-25 | 1 | -11/+39 |
| | | |||||
| * | section enums | Bob Halley | 2020-06-25 | 1 | -0/+10 |
| | | |||||
| * | Minor Python 3 cleanups. | Brian Wellington | 2020-06-03 | 1 | -2/+2 |
| | | | | | | | | Classes inherit from object by default; there's no need to explicitly include this. Replace super(Foo, self) with super(). | ||||
| * | Remove dns.rdata{type,class}.to_enum. | Brian Wellington | 2020-05-21 | 1 | -5/+5 |
| | | | | | | | | These methods (which convert a str/int into an enum/int) shouldn't be commonly used by external code, so don't need to exist at the module level. The make() method on the enum class (renamed from to_enum()) can still be used, and the internal callers have been updated to use it. | ||||
| * | Start converting rdatatype/rdataclass to enum. | Brian Wellington | 2020-05-18 | 1 | -13/+5 |
| | | |||||
| * | in doco, text->str, binary->bytes | Bob Halley | 2020-05-08 | 1 | -3/+3 |
| | | |||||
| * | Remove _compat module. | Bob Halley | 2018-12-09 | 1 | -11/+10 |
| | | |||||
| * | update copyright | Bob Halley | 2018-12-01 | 1 | -0/+2 |
| | | |||||
| * | doco Update | Bob Halley | 2017-01-15 | 1 | -33/+61 |
| | | |||||
| * | python3 support | Arthur Gautier | 2016-04-21 | 1 | -37/+41 |
| | | | | | Signed-off-by: Arthur Gautier <baloo@gandi.net> | ||||
| * | Unicode support bugfix | ruohan.chen | 2015-12-12 | 1 | -2/+2 |
| | | |||||
| * | update copyrights | Bob Halley | 2011-05-12 | 1 | -1/+1 |
| | | |||||
| * | Allow unicode strings for rdtype and rdclass parameters | Bob Halley | 2010-10-17 | 1 | -3/+3 |
| | | |||||
| * | add constants for TSIG algorithms | Bob Halley | 2010-10-17 | 1 | -1/+5 |
| | | |||||
| * | The TSIG algorithm was being passed to use_tsig() incorrectly. | Bob Halley | 2010-03-10 | 1 | -1/+1 |
| | | |||||
| * | update copyrights for 2010 | Bob Halley | 2010-01-13 | 1 | -1/+1 |
| | | |||||
| * | fix typo | Bob Halley | 2009-11-13 | 1 | -1/+1 |
| | | |||||
| * | add support for more TSIG algorithms | Bob Halley | 2009-11-13 | 1 | -2/+5 |
| | | |||||
| * | present() did not add a zero TTL if its argument was a single rdata | Bob Halley | 2009-11-13 | 1 | -14/+14 |
| | | |||||
| * | update copyrights | Bob Halley | 2009-06-18 | 1 | -1/+1 |
| | | |||||
| * | update copyrights for 2007 | Bob Halley | 2007-01-01 | 1 | -1/+1 |
| | | |||||
| * | If the 'zone' parameter to the Update constructor was a name, we erroneously | Bob Halley | 2006-03-03 | 1 | -2/+0 |
| | | | | | | | tried to invoke a method named 'copy'. Names are immutable, there's no need to copy anyway. | ||||
| * | Preliminary Unicode support | Bob Halley | 2005-11-13 | 1 | -5/+5 |
| | | |||||
| * | update copyrights | Bob Halley | 2005-09-02 | 1 | -1/+1 |
| | | | | | | Original author: Bob Halley <halley@dnspython.org> Date: 2005-01-08 08:13:48 | ||||
| * | remove cvs $Id$ tags | Bob Halley | 2005-09-02 | 1 | -2/+0 |
| | | | | | | Original author: Bob Halley <halley@dnspython.org> Date: 2004-07-31 09:51:40 | ||||
| * | we specified dns.rdatatype.NONE instead of dns.rdataclass.NONE in some | Bob Halley | 2005-09-02 | 1 | -2/+2 |
| | | | | | | | | update delete operations Original author: Bob Halley <halley@dnspython.org> Date: 2004-05-23 06:51:54 | ||||
| * | initial import | Bob Halley | 2005-09-02 | 1 | -0/+242 |
| Original author: Bob Halley <halley@dnspython.org> Date: 2004-03-23 21:57:40 | |||||
