]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Martin Basti [Fri, 29 Jan 2016 17:23:22 +0000 (18:23 +0100)]
Fix typo in resolver.py
Bob Halley [Mon, 7 Sep 2015 12:57:41 +0000 (05:57 -0700)]
Merge pull request #119 from TJRoger/master
Add installation guide
Roger [Sun, 6 Sep 2015 15:36:36 +0000 (23:36 +0800)]
Update README.md
Roger [Sun, 6 Sep 2015 15:35:03 +0000 (23:35 +0800)]
Rename README to README.md
Roger [Sun, 6 Sep 2015 15:34:24 +0000 (23:34 +0800)]
Update README
Bob Halley [Tue, 14 Jul 2015 12:40:54 +0000 (05:40 -0700)]
Merge pull request #113 from akettmann/master
Correct some typos of "of of"
Bob Halley [Tue, 14 Jul 2015 12:36:24 +0000 (05:36 -0700)]
Merge pull request #111 from preo/dns-port
Support per-nameserver port setting to dns.resolver.Resolver.
Bob Halley [Tue, 14 Jul 2015 12:33:01 +0000 (05:33 -0700)]
Merge pull request #112 from preo/safe-fqdn
Don't throw on unresolved FQDN in overridden getfqdn.
Robert Estelle [Thu, 9 Oct 2014 21:51:21 +0000 (17:51 -0400)]
Support per-nameserver port setting.
This change is backwards-compatible by maintaining a nameserver_port
mapping dict.
Robert Estelle [Tue, 14 Jul 2015 01:15:07 +0000 (21:15 -0400)]
Revert tuple-based per-nameserver port setting.
This reverts commit
55d1abc74c6360d4ae96a8b59e999ba5dc5997ad .
akettmann [Tue, 23 Jun 2015 17:41:06 +0000 (12:41 -0500)]
Correct some typos of "of of"
Robert Estelle [Sat, 11 Oct 2014 00:50:24 +0000 (20:50 -0400)]
Don't throw on unresolved-fqdn for overridden getfqdn.
Robert Estelle [Thu, 9 Oct 2014 21:51:21 +0000 (17:51 -0400)]
Support per-nameserver port setting.
Bob Halley [Sat, 13 Jun 2015 12:26:21 +0000 (05:26 -0700)]
Fix CAA from_wire()
Bob Halley [Tue, 14 Apr 2015 15:21:29 +0000 (08:21 -0700)]
Merge pull request #92 from pspacek/parametrized_exceptions
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.
Bob Halley [Sat, 21 Mar 2015 13:25:33 +0000 (06:25 -0700)]
Add URI RR to test data.
Bob Halley [Sat, 21 Mar 2015 13:18:35 +0000 (06:18 -0700)]
Merge pull request #91 from pspacek/uri
Add URI record type (draft-faltstrom-uri-13)
Bob Halley [Sat, 21 Mar 2015 13:17:29 +0000 (06:17 -0700)]
Merge pull request #83 from bastiak/name_exceptions
Fix name.from_unicode to raise prorper exception
Bob Halley [Sat, 21 Mar 2015 13:16:44 +0000 (06:16 -0700)]
Merge pull request #61 from mattiaslundberg/timing
Add response time to the response when querying a server.
Petr Spacek [Tue, 17 Mar 2015 15:31:13 +0000 (16:31 +0100)]
Add URI record type (draft-faltstrom-uri-13)
Bob Halley [Mon, 2 Mar 2015 17:10:49 +0000 (09:10 -0800)]
Merge pull request #88 from wdv4758h/master
clean Tab
dv [Mon, 2 Mar 2015 12:49:33 +0000 (20:49 +0800)]
clean Tab
Bob Halley [Thu, 26 Feb 2015 14:04:26 +0000 (06:04 -0800)]
Implement the pickle protocol.
Bob Halley [Thu, 26 Feb 2015 13:53:07 +0000 (05:53 -0800)]
Merge pull request #87 from ThomasWaldmann/master
fix unicode ipaddr crashes in rdata.from_text and tokenizer.Tokenizer
Bob Halley [Thu, 26 Feb 2015 13:48:53 +0000 (05:48 -0800)]
Merge pull request #85 from spacekpe/readable_exceptions
Readable exceptions
Thomas Waldmann [Tue, 24 Feb 2015 18:49:23 +0000 (19:49 +0100)]
fix unicode ipaddr crashes in rdata.from_text and tokenizer.Tokenizer, fixes #41
also added unit tests for both issues.
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.
Martin Basti [Wed, 19 Nov 2014 13:43:06 +0000 (14:43 +0100)]
Fix name.from_unicode to raise prorper exception
Without this fix, UnicodeError exception was raised instead of
LabelTooLong
Bob Halley [Thu, 4 Sep 2014 22:21:32 +0000 (15:21 -0700)]
All rdata comparsion now uses the digestable form.
Bob Halley [Thu, 4 Sep 2014 21:50:57 +0000 (14:50 -0700)]
Add CAA.
Bob Halley [Mon, 1 Sep 2014 13:03:01 +0000 (06:03 -0700)]
Prep 1.12.0
Bob Halley [Mon, 1 Sep 2014 12:41:13 +0000 (05:41 -0700)]
Fix ChangeLog formatting.
Bob Halley [Thu, 24 Jul 2014 15:11:36 +0000 (08:11 -0700)]
Cope with 64-bit Python on Windows passing the wrong value for the unbounded slice constant.
Bob Halley [Wed, 16 Jul 2014 13:18:30 +0000 (06:18 -0700)]
Merge pull request #76 from bastiak/master
NSEC3PARAM should allow only 4 parts of data
Martin Basti [Wed, 16 Jul 2014 12:15:29 +0000 (14:15 +0200)]
NSEC3PARAM should allow only 4 parts of data
Bob Halley [Sat, 21 Jun 2014 16:13:57 +0000 (09:13 -0700)]
Add ChangeLog entry for resolver.rotate
Tweak options processing for greater flexibility
Bob Halley [Sat, 21 Jun 2014 16:06:16 +0000 (09:06 -0700)]
Merge pull request #58 from underrun/options_rotate
add options rotate handling
Bob Halley [Sat, 21 Jun 2014 15:55:09 +0000 (08:55 -0700)]
Add dns.zone.to_text() convenience method.
Thanks to Brandon Whaley <redkrieg@gmail.com> for the patch.
Bob Halley [Sat, 21 Jun 2014 14:46:47 +0000 (07:46 -0700)]
add thanks
Bob Halley [Sat, 21 Jun 2014 14:45:14 +0000 (07:45 -0700)]
Fix exception when reading from a masterfile.
When reading from a masterfile, if the first content line started
with leading whitespace, we raised an ugly exception instead of
doing the right thing, namely using the zone origin as the name.
[#73]
Bob Halley [Thu, 19 Jun 2014 13:21:39 +0000 (06:21 -0700)]
Fix relativization in RRSIG to_text()
Bob Halley [Thu, 19 Jun 2014 12:42:02 +0000 (05:42 -0700)]
Add ChangeLog entries for accepted patches.
Bob Halley [Thu, 19 Jun 2014 12:41:48 +0000 (05:41 -0700)]
In _escapify, rename whitespaces_only to unicode_mode
Bob Halley [Thu, 19 Jun 2014 12:32:27 +0000 (05:32 -0700)]
Merge pull request #67 from bastiak/master
IDNA encoding/decoding issue fix
Bob Halley [Thu, 19 Jun 2014 12:28:26 +0000 (05:28 -0700)]
Merge pull request #71 from spacekpe/DNSKEY.flags_to_text_set
Add dns.rdtypes.ANY.DNSKEY.flags_to_text_set()
Bob Halley [Wed, 18 Jun 2014 23:13:39 +0000 (16:13 -0700)]
Allow empty APL RR.
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 [Sun, 15 Jun 2014 13:22:44 +0000 (06:22 -0700)]
add top-level test targets
Bob Halley [Sat, 31 May 2014 18:17:38 +0000 (11:17 -0700)]
Add dns.ipv6.is_mapped(); Reverse IPv6 mapped IPv4 into v4 space
Bob Halley [Sat, 31 May 2014 18:07:58 +0000 (11:07 -0700)]
overhaul test system
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?).
Martin Basti [Tue, 15 Apr 2014 12:26:36 +0000 (14:26 +0200)]
Fix improper escaping in Name.to_unicode() method
Escaping before calling encoding.idna cause incorrect conversion.
Now name is escaping after encofing.idna, and only whitespaces
Bob Halley [Fri, 11 Apr 2014 15:04:45 +0000 (08:04 -0700)]
Do not put back an unescaped token.
Bob Halley [Fri, 4 Apr 2014 12:34:49 +0000 (05:34 -0700)]
Responses to messages signed with TSIG were broken.
Mattias Lundberg [Wed, 19 Mar 2014 15:41:34 +0000 (16:41 +0100)]
Fix for timing, begin_time is not a function.
Mattias Lundberg [Wed, 19 Mar 2014 14:01:08 +0000 (15:01 +0100)]
Add response time to the response when querying a server.
Bob Halley [Fri, 14 Mar 2014 13:51:09 +0000 (06:51 -0700)]
Merge pull request #57 from bastiak/master
Allows to copy dns.name.Name objects
Bob Halley [Mon, 3 Mar 2014 16:57:35 +0000 (08:57 -0800)]
In LOC, deal with 0 values for size, horizontal precision, and vertical precision.
bastiak [Thu, 20 Feb 2014 12:41:15 +0000 (13:41 +0100)]
Allows to copy dns.name.Name objects
Bob Halley [Wed, 22 Jan 2014 13:42:50 +0000 (05:42 -0800)]
Merge pull request #48 from spacekpe/loc-fix
Fix issue #47 - LOC record parsing
Bob Halley [Wed, 22 Jan 2014 13:40:13 +0000 (05:40 -0800)]
Merge pull request #49 from spacekpe/skip-ecdsa-tests
Skip DNSSEC ECDSA tests if there is no python ecdsa package.
Petr Spacek [Tue, 21 Jan 2014 14:21:08 +0000 (15:21 +0100)]
Skip DNSSEC ECDSA tests if there is no python ecdsa package.
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.
Petr Spacek [Tue, 21 Jan 2014 12:43:05 +0000 (13:43 +0100)]
test size, vertical and horizontal precision values in LOC records
Bob Halley [Wed, 11 Dec 2013 14:29:29 +0000 (06:29 -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 [Sat, 21 Sep 2013 23:25:36 +0000 (16:25 -0700)]
Preliminary Elliptic Curve DNSSEC Validation (requires ecdsa module)
Bob Halley [Mon, 2 Sep 2013 19:00:41 +0000 (12:00 -0700)]
prep 1.11.1
Bob Halley [Sun, 1 Sep 2013 23:09:42 +0000 (16:09 -0700)]
Merge pull request #36 from wangwang/fix-dns.name.to_text-error
Fix bug: module dns.name has no attribution .to_text(); should be <@ nam...
wangwang [Fri, 30 Aug 2013 18:44:00 +0000 (02:44 +0800)]
Fix bug: module dns.name has no attribution .to_text(); should be <@ name>.to_text()
Bob Halley [Mon, 26 Aug 2013 16:14:01 +0000 (09:14 -0700)]
Make multi-message TSIGs compute correctly for algorithms other than MD5
Bob Halley [Fri, 9 Aug 2013 17:03:02 +0000 (10:03 -0700)]
Merge pull request #32 from andreif/patch-1
Fix variable name in dnssec._find_candidate_keys
Andrei Fokau [Sat, 3 Aug 2013 21:28:03 +0000 (23:28 +0200)]
Fix variable name in dnssec._find_candidate_keys
Bob Halley [Wed, 17 Jul 2013 07:23:04 +0000 (08:23 +0100)]
retry_servfail -> self.retry_servfail
Bob Halley [Mon, 8 Jul 2013 09:15:35 +0000 (02:15 -0700)]
Merge pull request #29 from jcollie/master
Preserve Python 2.4 compatibility by switching back to the old style string formatting.
Jeffrey C. Ollie [Mon, 8 Jul 2013 05:35:22 +0000 (00:35 -0500)]
Preserve Python 2.4 compatibility.
A new style of string formatting was introduced in Python 2.6.
Preserve Python 2.4 compatibility by switching back to the old style.
Bob Halley [Sun, 7 Jul 2013 11:20:22 +0000 (12:20 +0100)]
fix doco
Bob Halley [Sun, 7 Jul 2013 11:06:14 +0000 (12:06 +0100)]
Update for 1.11
Bob Halley [Sun, 30 Jun 2013 20:44:07 +0000 (13:44 -0700)]
prep 1.11
Bob Halley [Thu, 30 May 2013 09:27:40 +0000 (10:27 +0100)]
fix typo
Bob Halley [Sun, 28 Apr 2013 08:21:37 +0000 (09:21 +0100)]
Do not add items with offsets >= 2^14 to the compression table
Bob Halley [Fri, 26 Apr 2013 12:03:42 +0000 (13:03 +0100)]
In dns.ipv6.inet_ntoa(), do not use :: to shorten just one 16-bit 0 field
Bob Halley [Sun, 31 Mar 2013 11:50:04 +0000 (12:50 +0100)]
lock caches in case they are shared
Bob Halley [Sun, 31 Mar 2013 11:28:04 +0000 (12:28 +0100)]
Do not retry SERVFAILing nameservers by default