summaryrefslogtreecommitdiff
path: root/dns/rrset.py
Commit message (Collapse)AuthorAgeFilesLines
* fix rrset match signature problemsfull_matchBob Halley2020-09-031-7/+22
|
* rename masterfile to zonefileBob Halley2020-08-191-1/+1
|
* The from_text_list() methods for Rdataset and RRset should allow theBob Halley2020-08-081-2/+12
| | | | | | | | | | | full set of parameters that rdata's from_text() allows (i.e. origin, relativize, and relativize_to). These parameters were added though the order is slightly different from dns.rdata.to_text() as in the the rdata version idna_codec is after origin, relativize, and relativize_to. We already had an idna_codec for the Rdataset and RRset functions, so we added after it to keep backwards compatibility.
* pylint lintingBob Halley2020-07-311-6/+14
|
* Minor Python 3 cleanups.Brian Wellington2020-06-031-8/+8
| | | | | | | 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 Wellington2020-05-211-2/+2
| | | | | | | 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 Wellington2020-05-181-4/+2
|
* add idna_codec doco to from_text_list()Bob Halley2020-05-081-0/+4
|
* IDNA support for zones, messages, names in rdata, rrsets, and rdatasets.Bob Halley2020-05-031-1/+6
|
* Improve rdataset/rrset repr to include rdata.Brian Wellington2020-04-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | Previously, repr() of rdataset/rrset looked like this: <DNS IN A rdataset> <DNS IN TXT rdataset> <DNS IN RRSIG rdataset> <DNS example. IN A RRset> <DNS example. IN TXT RRset> <DNS example. IN RRSIG(NSEC) RRset> With this patch, it they look like: <DNS IN A rdataset: [<1.2.3.4>, <5.6.7.8>]> <DNS IN TXT rdataset: [<"foo" "bar">, <"baz">]> <DNS IN RRSIG(NSEC) rdataset: [<NSEC 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/vILz 45IkskceFGgiWC...>]> <DNS example. IN A RRset: [<1.2.3.4>, <5.6.7.8>]> <DNS example. IN TXT RRset: [<"foo" "bar">, <"baz">]> <DNS example. IN RRSIG(NSEC) RRset: [<NSEC 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/vILz 45IkskceFGgiWC...>]> Note that each rdata is truncated to 100 characters.
* Remove _compat module.Bob Halley2018-12-091-5/+4
|
* update copyrightBob Halley2018-12-011-0/+2
|
* more doco updatesBob Halley2017-01-161-16/+21
|
* continue doco overhaulBob Halley2017-01-101-4/+4
|
* de-lint IDNABob Halley2016-09-251-4/+4
|
* A simpler and more extensible IDNA API.Bob Halley2016-09-251-4/+5
|
* python3 supportArthur Gautier2016-04-211-6/+12
| | | | Signed-off-by: Arthur Gautier <baloo@gandi.net>
* update copyrightsBob Halley2011-05-121-1/+1
|
* Allow unicode strings for rdtype and rdclass parametersBob Halley2010-10-171-2/+2
|
* When initializing an RRset, pass covers to the superclassBob Halley2010-05-041-1/+1
|
* create exceptions with arguments as "raise E(args)" instead of "raise E, args"Bob Halley2010-01-141-8/+8
|
* update copyrights for 2010Bob Halley2010-01-131-1/+1
|
* update copyrightsBob Halley2009-06-181-1/+1
|
* update copyrights for 2007Bob Halley2007-01-011-1/+1
|
* fix various doco errors (thanks Brian!)Bob Halley2006-08-151-1/+1
|
* add RRset.to_rdataset()Bob Halley2006-04-261-0/+7
|
* Preliminary Unicode supportBob Halley2005-11-131-2/+2
|
* update copyrightsBob Halley2005-09-021-1/+1
| | | | | Original author: Bob Halley <halley@dnspython.org> Date: 2005-01-08 08:13:48
* remove cvs $Id$ tagsBob Halley2005-09-021-2/+0
| | | | | Original author: Bob Halley <halley@dnspython.org> Date: 2004-07-31 09:51:40
* initial importBob Halley2005-09-021-0/+170
Original author: Bob Halley <halley@dnspython.org> Date: 2004-03-23 21:57:40