]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Jan Vcelak [Sat, 31 Oct 2015 11:19:06 +0000 (12:19 +0100)]
Add support for CDNSKEY record type
Jan Vcelak [Sat, 31 Oct 2015 05:42:07 +0000 (06:42 +0100)]
Add support for CDS record type
Bob Halley [Sun, 25 Oct 2015 15:33:28 +0000 (08:33 -0700)]
Merge pull request #126 from kivikakk/bugfix/py3-make_response-tsig
Assign b'' to other_data in make_response when using TSIG.
Yuki Izumi [Sat, 24 Oct 2015 06:15:30 +0000 (17:15 +1100)]
Assign b'' to other_data in make_response when using TSIG.
Bob Halley [Tue, 6 Oct 2015 14:37:41 +0000 (07:37 -0700)]
In python 3, the getaddrinfo 'socktype' parameter was renamed to 'type'
Bob Halley [Sat, 13 Jun 2015 12:26:31 +0000 (05:26 -0700)]
Fix CAA from_wire()
Bob Halley [Thu, 21 May 2015 12:43:15 +0000 (05:43 -0700)]
Merge pull request #97 from encukou/zone-to_file
Fix failing test for Zone.to_file
Bob Halley [Thu, 21 May 2015 12:41:26 +0000 (05:41 -0700)]
Merge pull request #98 from encukou/python3-parametrized-exceptions
Python3 parametrized exceptions
Petr Spacek [Fri, 27 Mar 2015 13:52:25 +0000 (14:52 +0100)]
Add information about protocol, request, and response to NoNameservers exception.
Information about UDP/TCP protocol usage is returned from str(NoNameservers) but
request and response variables are intended for application debug logs
and are not returned from str().
str() for parametrized version of the exception now returns string like:
All nameservers failed to answer the query localhost. IN URI: Server 192.0.2.1 TCP port 53 anwered BADVERS; Server 192.0.2.2 UDP port 53 anwered BADVERS
Petr Spacek [Wed, 25 Mar 2015 08:34:06 +0000 (09:34 +0100)]
Convert NoNameservers exception to the new DNSException style.
str() for parametrized version now returns string like:
All nameservers failed to answer the query localhost. IN URI: Server 192.0.2.1 anwered BADVERS; Server 192.0.2.55 anwered BADVERS
Petr Spacek [Fri, 27 Mar 2015 14:51:24 +0000 (15:51 +0100)]
Add response to NoAnswer exception.
Only question section is returned from str(NoAnswer).
Whole response variable is intended for application debug logs
and is not returned from str().
Petr Spacek [Wed, 25 Mar 2015 08:33:14 +0000 (09:33 +0100)]
Convert NoAnswer exception to the new DNSException style.
str() for paramerized exceptions returns string like:
The DNS response does not contain an answer to the question: localhost. IN URI
Petr Spacek [Thu, 19 Mar 2015 17:03:19 +0000 (18:03 +0100)]
Return list of non-existent names as part of str(NXDOMAIN).
Petr Spacek [Thu, 19 Mar 2015 17:02:08 +0000 (18:02 +0100)]
Return timeout duration as part of str(Timeout).
Petr Spacek [Fri, 20 Mar 2015 12:39:28 +0000 (13:39 +0100)]
Test new DNSException behavior.
Petr Spacek [Wed, 25 Mar 2015 08:22:35 +0000 (09:22 +0100)]
Separate class docstring and default str() messages in DNSException.
str() for non-parametrized exceptions still defaults to class docstring
but now it is possible to simply override the message by defining
class.msg variable.
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.
Petr Viktorin [Thu, 21 May 2015 11:29:32 +0000 (13:29 +0200)]
Fix failing test for Zone.to_file
A fix for https://github.com/rthalley/dnspython/issues/94
Make the to_file method work on string files, unless explicitly told
to do binary encoding.
Take the line terminator from os, rather than relying on the print
function.
Change the test to use a text file rather than binary, and add a new
test for to_file with a binary file.
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