]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Petr Spacek [Fri, 20 Mar 2015 14:55:03 +0000 (15:55 +0100)]
Add list pretty-printing for parametrized exceptions.
All list entries are converted to strings before the list is printed.
I.e. one-item list is printed as 'vm-123.idm.lab.eng.brq.redhat.com. IN NS'
instead [<DNS vm-123.idm.lab.eng.brq.redhat.com. IN NS RRset>].
Petr Spacek [Thu, 19 Mar 2015 16:55:30 +0000 (17:55 +0100)]
Add support for parametrizable __str__ in DNSException.
This change makes __init__ and __str__ parametrization simpler
and keeps backward compatiblity with old code which does not use keyword
arguments in raise().
Parametrized __str__ can be implemented simply by defining "fmt" and
"supp_kwargs" class variables in particular exception class.
Doc string is used in cases where specific message parameters were not provided
during instantiation/raise.
Bob Halley [Sat, 21 Mar 2015 14:53:38 +0000 (07:53 -0700)]
zone.to_text() needs to make a StringIO
Petr Spacek [Mon, 19 Jan 2015 14:16:24 +0000 (15:16 +0100)]
Add tests for str() handling in DNSException.
Petr Spacek [Fri, 16 Jan 2015 12:10:46 +0000 (13:10 +0100)]
Remove redundant 'pass' from class definitions.
Petr Spacek [Fri, 16 Jan 2015 12:10:04 +0000 (13:10 +0100)]
Add missing docstring for BadTTL exception.
Petr Spacek [Thu, 15 Jan 2015 16:46:27 +0000 (17:46 +0100)]
Extend NoNameservers exception with list of servers and respective errors.
String represetation of the NoNameservers exception now looks like:
"No non-broken nameservers are available to answer the query. Server 10.16.78.1 REFUSED; Server 10.16.78.2 SERVFAIL"
Petr Spacek [Thu, 15 Jan 2015 16:44:49 +0000 (17:44 +0100)]
Extend NoAnswer exception with optional question.
The actual question will be printed as part of string representation of
NoAnswer exception instead of terse
"The response did not contain an answer to the question."
Petr Spacek [Thu, 15 Jan 2015 16:27:27 +0000 (17:27 +0100)]
Amend doc strings for all DNSExceptions to make them suitable for direct printing.
Petr Spacek [Thu, 15 Jan 2015 16:25:10 +0000 (17:25 +0100)]
Support string representation for all DNSExceptions.
Doc string is used in cases where more specific message was not provided
during instantiation/raise.
Bob Halley [Fri, 5 Sep 2014 15:10:16 +0000 (08:10 -0700)]
All rdata comparsion now uses the digestable form.
Bob Halley [Fri, 5 Sep 2014 15:09:44 +0000 (08:09 -0700)]
Add CAA.
Bob Halley [Mon, 1 Sep 2014 13:09:19 +0000 (06:09 -0700)]
Remove deprecated universal newlines flag to open().
Bob Halley [Mon, 1 Sep 2014 13:03:07 +0000 (06:03 -0700)]
Prep 1.12.0
Bob Halley [Mon, 1 Sep 2014 12:42:07 +0000 (05:42 -0700)]
Update ChangeLog.
Bob Halley [Mon, 1 Sep 2014 00:40:54 +0000 (17:40 -0700)]
Overhaul test suite to allow testing in place.
Bob Halley [Mon, 1 Sep 2014 00:29:41 +0000 (17:29 -0700)]
Add dns.ipv6.is_mapped(); Reverse IPv6 mapped IPv4 into v4 space.
Bob Halley [Mon, 1 Sep 2014 00:29:23 +0000 (17:29 -0700)]
Fix python3 port problem.
Bob Halley [Mon, 1 Sep 2014 00:17:19 +0000 (17:17 -0700)]
Fix test_rdtypeanydnskey.py for python3.
Petr Spacek [Sat, 14 Jun 2014 12:24:48 +0000 (14:24 +0200)]
Add dns.rdtypes.ANY.DNSKEY.flags_to_text_set() and flags_from_text_set().
Map between DNSKEY RR flags bit array and set of human-readable names.
Bob Halley [Mon, 1 Sep 2014 00:14:05 +0000 (17:14 -0700)]
Allow empty APL RR.
Bob Halley [Mon, 1 Sep 2014 00:05:05 +0000 (17:05 -0700)]
Fix relativization in RRSIG to_text().
Bob Halley [Mon, 1 Sep 2014 00:02:56 +0000 (17:02 -0700)]
Fix exception when reading from a masterfile.
Bob Halley [Sun, 31 Aug 2014 23:59:30 +0000 (16:59 -0700)]
Fix some issues with dns.zone.to_file().
Bob Halley [Sun, 31 Aug 2014 23:59:05 +0000 (16:59 -0700)]
pull up unicode escaping changes.
Bob Halley [Sat, 21 Jun 2014 15:55:09 +0000 (08:55 -0700)]
Add dns.zone.to_text() convenience method.
Bob Halley [Sun, 31 Aug 2014 23:36:03 +0000 (16:36 -0700)]
Tweak options rotate.
Bob Halley [Sun, 31 Aug 2014 23:31:20 +0000 (16:31 -0700)]
Batch User [Thu, 20 Feb 2014 19:51:56 +0000 (11:51 -0800)]
add options rotate handling
for resolv.conf "options rotate" line, enable shuffling of nameservers
before each query. (should just rotate start position and maintain order?).
Bob Halley [Sun, 31 Aug 2014 23:26:59 +0000 (16:26 -0700)]
bastiak [Thu, 20 Feb 2014 12:41:15 +0000 (13:41 +0100)]
Allows to copy dns.name.Name objects
Petr Spacek [Tue, 21 Jan 2014 13:07:24 +0000 (14:07 +0100)]
Fix vertical precision parsing for LOC records.
Vertical precision value was ignored if the optional 'm' (unit)
was missing at the end of input and rest of the input was ignored.
Petr Spacek [Tue, 21 Jan 2014 12:49:21 +0000 (13:49 +0100)]
Fix default size, horizontal and vertical precition values for LOC records.
Default values in RFC 1876 are in meters but the old code used
the numerical value as centimeters.
Bob Halley [Fri, 11 Apr 2014 15:05:49 +0000 (08:05 -0700)]
Do not put back an unescaped token.
Bob Halley [Fri, 4 Apr 2014 13:16:44 +0000 (06:16 -0700)]
Responses to messages signed with TSIG were broken.
Bob Halley [Mon, 3 Mar 2014 17:02:56 +0000 (09:02 -0800)]
In LOC, deal with 0 values for size, horizontal precision, and vertical precision.
Bob Halley [Fri, 10 Jan 2014 14:18:47 +0000 (06:18 -0800)]
Remove lingering ord()s from is_multicast()
Bob Halley [Wed, 11 Dec 2013 14:31:08 +0000 (06:31 -0800)]
Fix problems with the IXFR state machine which caused long diffs to
fail. Thanks to James Raftery for the fix and the repeated prodding
to get it applied :)
Bob Halley [Mon, 2 Sep 2013 19:00:57 +0000 (12:00 -0700)]
prep 1.11.1
Bob Halley [Sun, 1 Sep 2013 23:13:19 +0000 (16:13 -0700)]
Bob Halley [Mon, 26 Aug 2013 16:14:51 +0000 (09:14 -0700)]
Make multi-message TSIGs compute correctly for algorithms other than MD5
Bob Halley [Tue, 13 Aug 2013 16:51:49 +0000 (09:51 -0700)]
Add regression test for APL trailing zero bug
Bob Halley [Tue, 13 Aug 2013 16:46:55 +0000 (09:46 -0700)]
Fix APL trailing zero suppression.
This was a part of the port to python3 that got missed... chr(0) != 0.
Bob Halley [Fri, 9 Aug 2013 17:04:58 +0000 (10:04 -0700)]
Fix variable name in dnssec._find_candidate_keys
Bob Halley [Wed, 17 Jul 2013 07:23:26 +0000 (08:23 +0100)]
retry_servfail -> self.retry_servfail
Bob Halley [Sun, 7 Jul 2013 11:20:42 +0000 (12:20 +0100)]
fix doco
Bob Halley [Sun, 7 Jul 2013 11:05:50 +0000 (12:05 +0100)]
update for 1.11
Bob Halley [Sun, 7 Jul 2013 11:05:29 +0000 (12:05 +0100)]
Add some backwards compatibility to the winreg fix
Bob Halley [Sun, 30 Jun 2013 20:43:51 +0000 (13:43 -0700)]
prep 1.11
Bob Halley [Sun, 30 Jun 2013 19:46:19 +0000 (12:46 -0700)]
pull up $GENERATE
Bob Halley [Sun, 30 Jun 2013 19:34:27 +0000 (12:34 -0700)]
add set_flags()
Bob Halley [Sun, 30 Jun 2013 19:29:53 +0000 (12:29 -0700)]
Do not insist the filename of a $INCLUDE is quoted
Bob Halley [Sun, 30 Jun 2013 19:26:03 +0000 (12:26 -0700)]
Add TLSA
Bob Halley [Sun, 30 Jun 2013 19:14:53 +0000 (12:14 -0700)]
ignore .pyc files
Bob Halley [Thu, 30 May 2013 09:27:58 +0000 (10:27 +0100)]
fix typo
Bob Halley [Sun, 28 Apr 2013 08:23:02 +0000 (09:23 +0100)]
Do not add items with offsets >= 2^14 to the compression table
Bob Halley [Fri, 26 Apr 2013 12:04:01 +0000 (13:04 +0100)]
In dns.ipv6.inet_ntoa(), do not use :: to shorten just one 16-bit 0 field
Bob Halley [Sun, 31 Mar 2013 11:52:35 +0000 (12:52 +0100)]
lock caches in case they are shared
Bob Halley [Sun, 31 Mar 2013 11:32:16 +0000 (12:32 +0100)]
Do not retry SERVFAILing nameservers by default
Bob Halley [Sun, 31 Mar 2013 11:32:04 +0000 (12:32 +0100)]
turn tab into spaces
Bob Halley [Sun, 31 Mar 2013 11:21:34 +0000 (12:21 +0100)]
Raise YXDOMAIN if we see a YXDOMAIN rcode
Bob Halley [Sun, 31 Mar 2013 11:20:40 +0000 (12:20 +0100)]
do not print empty rdatasets
Bob Halley [Sun, 31 Mar 2013 10:45:27 +0000 (11:45 +0100)]
Pull up James Dempsey's fix: Remove DNSKEY keytag uniqueness assumption (RFC 4034, section 8)
Bob Halley [Mon, 31 Dec 2012 16:44:29 +0000 (08:44 -0800)]
Merge pull request #20 from lambacck/python3
Fix _winreg renamed to winreg in python 3
Christopher Lambacher [Sun, 16 Dec 2012 04:42:38 +0000 (23:42 -0500)]
Fix _winreg renamed to winreg in python 3
Bob Halley [Tue, 28 Aug 2012 20:58:33 +0000 (13:58 -0700)]
Do not generate empty NSEC3 bitmap windows
Bob Halley [Thu, 31 May 2012 08:19:27 +0000 (09:19 +0100)]
merge rdclass default value doco fix
Bob Halley [Mon, 21 May 2012 17:35:58 +0000 (18:35 +0100)]
fix typos
Bob Halley [Tue, 10 Apr 2012 12:07:31 +0000 (13:07 +0100)]
Fix python3 port issues with RSA validation
Bob Halley [Sun, 8 Apr 2012 13:27:20 +0000 (14:27 +0100)]
fix typo
Bob Halley [Sun, 8 Apr 2012 13:25:48 +0000 (14:25 +0100)]
add release marker
Bob Halley [Sun, 8 Apr 2012 13:22:51 +0000 (14:22 +0100)]
doco fixes
Bob Halley [Sun, 8 Apr 2012 12:55:48 +0000 (13:55 +0100)]
allow all EDNS parameters to be specifed when making a query
Bob Halley [Sun, 8 Apr 2012 12:25:36 +0000 (13:25 +0100)]
Add source_port support to resolver; fix source_port in query code
Bob Halley [Sun, 8 Apr 2012 11:38:11 +0000 (12:38 +0100)]
remove obsolete TODO
Bob Halley [Sun, 8 Apr 2012 11:20:43 +0000 (12:20 +0100)]
more 1.10 prep
Bob Halley [Sun, 8 Apr 2012 11:10:44 +0000 (12:10 +0100)]
try TCP if UDP response is truncated
Bob Halley [Sat, 7 Apr 2012 21:16:05 +0000 (22:16 +0100)]
add check_origin parameter to dns.zone.from_xfr()
Bob Halley [Sat, 7 Apr 2012 21:09:05 +0000 (22:09 +0100)]
allow whitespace in SSHFP fingerprints
Bob Halley [Sat, 7 Apr 2012 21:08:24 +0000 (22:08 +0100)]
fix python2ism
Bob Halley [Sat, 7 Apr 2012 20:43:46 +0000 (21:43 +0100)]
raise ValueError if the argument to node.replace_rdataset() is not an rdataset
Bob Halley [Sat, 7 Apr 2012 20:15:14 +0000 (21:15 +0100)]
merge trailing junk control
Bob Halley [Sat, 7 Apr 2012 20:12:23 +0000 (21:12 +0100)]
BytesIO not StringIO
Bob Halley [Fri, 30 Dec 2011 17:07:21 +0000 (17:07 +0000)]
more 1.10 prep
Bob Halley [Wed, 24 Aug 2011 10:51:54 +0000 (11:51 +0100)]
add LRUCache
Bob Halley [Mon, 18 Jul 2011 22:05:53 +0000 (15:05 -0700)]
doco
Bob Halley [Mon, 18 Jul 2011 22:05:42 +0000 (15:05 -0700)]
packaging updates
Bob Halley [Wed, 13 Jul 2011 19:57:36 +0000 (12:57 -0700)]
the next version will be 1.10.0
Bob Halley [Wed, 13 Jul 2011 19:55:30 +0000 (12:55 -0700)]
add dns.resolver.override_system_resolver() and dns.resolver.restore_system_resolver()
Bob Halley [Wed, 13 Jul 2011 02:00:28 +0000 (19:00 -0700)]
more v6 strictness; more unit tests
Bob Halley [Wed, 13 Jul 2011 00:57:21 +0000 (17:57 -0700)]
increase IPv4 parsing strictness yet more
Bob Halley [Sat, 9 Jul 2011 00:50:10 +0000 (17:50 -0700)]
make address parsing stricter
Bob Halley [Sat, 11 Jun 2011 16:36:52 +0000 (17:36 +0100)]
fix typo
Bob Halley [Thu, 12 May 2011 14:48:55 +0000 (15:48 +0100)]
update copyrights
Bob Halley [Thu, 12 May 2011 14:46:51 +0000 (15:46 +0100)]
assume the python3 executable is called python3
Bob Halley [Thu, 12 May 2011 14:46:29 +0000 (15:46 +0100)]
call the python3 kit dnspython3-x.y.z
Bob Halley [Thu, 12 May 2011 10:51:06 +0000 (11:51 +0100)]
work around using "sorted" as a parameter name by using module "builtins"
Bob Halley [Wed, 4 May 2011 21:39:47 +0000 (22:39 +0100)]
reversename for v6 was generating bogus values
Bob Halley [Tue, 3 May 2011 10:19:39 +0000 (11:19 +0100)]
find the dnspython.org master server and query it
Bob Halley [Tue, 3 May 2011 10:13:31 +0000 (11:13 +0100)]
py3 port