]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
9 years agoupdate to 1.15.0 python3
Bob Halley [Fri, 30 Sep 2016 22:30:41 +0000 (15:30 -0700)] 
update to 1.15.0

9 years agore-add travis, but exclude the python3 branch
Bob Halley [Tue, 20 Sep 2016 12:59:17 +0000 (05:59 -0700)] 
re-add travis, but exclude the python3 branch

9 years agoremove travis
Bob Halley [Tue, 20 Sep 2016 12:46:03 +0000 (05:46 -0700)] 
remove travis

9 years agoredirect to dnspython
Bob Halley [Tue, 20 Sep 2016 12:45:34 +0000 (05:45 -0700)] 
redirect to dnspython

9 years agorevert bad merge
Bob Halley [Sun, 8 May 2016 18:29:29 +0000 (11:29 -0700)] 
revert bad merge

9 years agoMerge pull request #132 from ddellav/python3
Bob Halley [Sun, 8 May 2016 18:19:01 +0000 (11:19 -0700)] 
Merge pull request #132 from ddellav/python3

Offline Build Process Facilitation

9 years agoMerge pull request #145 from CoresecSystems/python3
Bob Halley [Sat, 5 Mar 2016 00:33:28 +0000 (16:33 -0800)] 
Merge pull request #145 from CoresecSystems/python3

Fix NameDicts

9 years agoFix NameDicts so they keep track of the max_length properly and handle things like... 145/head
Francisco Izquierdo [Fri, 4 Mar 2016 20:41:44 +0000 (21:41 +0100)] 
Fix NameDicts so they keep track of the max_length properly and handle things like update properly

9 years agopass the response to NoAnswer correctly
Bob Halley [Sun, 21 Feb 2016 23:50:11 +0000 (15:50 -0800)] 
pass the response to NoAnswer correctly

9 years agorm old README
Bob Halley [Sun, 21 Feb 2016 23:46:08 +0000 (15:46 -0800)] 
rm old README

9 years agoupdate, add build status
Bob Halley [Sun, 21 Feb 2016 23:37:40 +0000 (15:37 -0800)] 
update, add build status

9 years agoImport dns.tsig
Bob Halley [Sun, 21 Feb 2016 23:31:34 +0000 (15:31 -0800)] 
Import dns.tsig

9 years agoSet response_time to zero when exceptions occur early.
Bob Halley [Sun, 21 Feb 2016 23:23:28 +0000 (15:23 -0800)] 
Set response_time to zero when exceptions occur early.

9 years agoremove 3.2
Bob Halley [Sat, 9 Jan 2016 00:38:31 +0000 (16:38 -0800)] 
remove 3.2

9 years agoexit with nonzero status if tests fail
Bob Halley [Sat, 9 Jan 2016 00:23:34 +0000 (16:23 -0800)] 
exit with nonzero status if tests fail

9 years agoadd travis for python3
Bob Halley [Sat, 9 Jan 2016 00:20:05 +0000 (16:20 -0800)] 
add travis for python3

10 years agoChecking for network access and disabling certain tests that require it to facilitate... 132/head
David Della Vecchia [Wed, 16 Dec 2015 14:53:55 +0000 (09:53 -0500)] 
Checking for network access and disabling certain tests that require it to facilitate offline build process.

10 years agoMerge pull request #103 from encukou/py3-records
Bob Halley [Thu, 3 Dec 2015 17:18:24 +0000 (09:18 -0800)] 
Merge pull request #103 from encukou/py3-records

Py3: Add missing code for URI and TLSA rrtypes from the python2 branch

10 years agoMerge pull request #106 from encukou/deduplicate-tests
Bob Halley [Thu, 3 Dec 2015 17:17:54 +0000 (09:17 -0800)] 
Merge pull request #106 from encukou/deduplicate-tests

Rename tests with duplicate names

10 years agoMerge pull request #105 from encukou/py3-tests
Bob Halley [Thu, 3 Dec 2015 17:17:46 +0000 (09:17 -0800)] 
Merge pull request #105 from encukou/py3-tests

Py3: Add missing tests

10 years agoMerge pull request #104 from encukou/py3-query-timer
Bob Halley [Thu, 3 Dec 2015 17:17:22 +0000 (09:17 -0800)] 
Merge pull request #104 from encukou/py3-query-timer

Py3: Add query timer

10 years agoMerge pull request #102 from encukou/py3-pickle
Bob Halley [Thu, 3 Dec 2015 17:17:10 +0000 (09:17 -0800)] 
Merge pull request #102 from encukou/py3-pickle

Py3: Implement the pickle protocol for Name objects

10 years agoMerge pull request #101 from encukou/py3-ecdsa
Bob Halley [Thu, 3 Dec 2015 17:16:49 +0000 (09:16 -0800)] 
Merge pull request #101 from encukou/py3-ecdsa

Add ECDSA to python3 branch

10 years agoAdd support for EUI48 and EUI64 RR types
Petr Spacek [Thu, 3 Dec 2015 12:07:41 +0000 (13:07 +0100)] 
Add support for EUI48 and EUI64 RR types

10 years agoMerge pull request #127 from fcelda/python3
Bob Halley [Mon, 2 Nov 2015 14:03:18 +0000 (06:03 -0800)] 
Merge pull request #127 from fcelda/python3

CDS/CDNSKEY support

10 years agoAdd support for CDNSKEY record type 127/head
Jan Vcelak [Sat, 31 Oct 2015 11:19:06 +0000 (12:19 +0100)] 
Add support for CDNSKEY record type

10 years agoAdd support for CDS record type
Jan Vcelak [Sat, 31 Oct 2015 05:42:07 +0000 (06:42 +0100)] 
Add support for CDS record type

10 years agoMerge pull request #126 from kivikakk/bugfix/py3-make_response-tsig
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.

10 years agoAssign b'' to other_data in make_response when using TSIG. 126/head
Yuki Izumi [Sat, 24 Oct 2015 06:15:30 +0000 (17:15 +1100)] 
Assign b'' to other_data in make_response when using TSIG.

10 years agoIn python 3, the getaddrinfo 'socktype' parameter was renamed to 'type'
Bob Halley [Tue, 6 Oct 2015 14:37:41 +0000 (07:37 -0700)] 
In python 3, the getaddrinfo 'socktype' parameter was renamed to 'type'

10 years agoFix CAA from_wire()
Bob Halley [Sat, 13 Jun 2015 12:26:31 +0000 (05:26 -0700)] 
Fix CAA from_wire()

10 years agoRename tests with duplicate names 106/head
Petr Viktorin [Wed, 27 May 2015 13:51:40 +0000 (15:51 +0200)] 
Rename tests with duplicate names

Some tests were shadowed by a different test of the same name.
Rename to resolve the conflicts.

In test_ntoaaton, there were exact duplicates; only keep one of each.

10 years agoadd some LRUCache tests 105/head
Bob Halley [Mon, 29 Aug 2011 16:48:29 +0000 (17:48 +0100)] 
add some LRUCache tests

10 years agoAdd rdtypeanyloc tests from the py2 branch
Petr Viktorin [Wed, 27 May 2015 11:01:49 +0000 (13:01 +0200)] 
Add rdtypeanyloc tests from the py2 branch

10 years agoAdd rdata tests from the py2 branch
Petr Viktorin [Wed, 27 May 2015 10:59:23 +0000 (12:59 +0200)] 
Add rdata tests from the py2 branch

10 years agoAdd grange tests from the py2 branch
Petr Viktorin [Wed, 27 May 2015 10:52:45 +0000 (12:52 +0200)] 
Add grange tests from the py2 branch

10 years agoAdd TLSA to exports & copyrights lists 103/head
Petr Viktorin [Wed, 27 May 2015 10:26:50 +0000 (12:26 +0200)] 
Add TLSA to exports & copyrights lists

10 years agoAdd URI RR to test data.
Bob Halley [Sat, 21 Mar 2015 13:25:33 +0000 (06:25 -0700)] 
Add URI RR to test data.

10 years agoAdd URI record type (draft-faltstrom-uri-13)
Petr Spacek [Tue, 17 Mar 2015 15:31:13 +0000 (16:31 +0100)] 
Add URI record type (draft-faltstrom-uri-13)

10 years agoFix for timing, begin_time is not a function. 104/head
Mattias Lundberg [Wed, 19 Mar 2014 15:41:34 +0000 (16:41 +0100)] 
Fix for timing, begin_time is not a function.

10 years agoAdd response time to the response when querying a server.
Mattias Lundberg [Wed, 19 Mar 2014 14:01:08 +0000 (15:01 +0100)] 
Add response time to the response when querying a server.

10 years agoTest pickling Name objects 102/head
Petr Viktorin [Tue, 26 May 2015 14:44:34 +0000 (16:44 +0200)] 
Test pickling Name objects

10 years agoImplement the pickle protocol.
Bob Halley [Thu, 26 Feb 2015 14:04:26 +0000 (06:04 -0800)] 
Implement the pickle protocol.

10 years agoSkip DNSSEC ECDSA tests if there is no python ecdsa package. 101/head
Petr Spacek [Tue, 21 Jan 2014 14:21:08 +0000 (15:21 +0100)] 
Skip DNSSEC ECDSA tests if there is no python ecdsa package.

10 years agoPreliminary Elliptic Curve DNSSEC Validation (requires ecdsa module)
Bob Halley [Sat, 21 Sep 2013 23:25:36 +0000 (16:25 -0700)] 
Preliminary Elliptic Curve DNSSEC Validation (requires ecdsa module)

10 years agoMerge pull request #97 from encukou/zone-to_file
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

10 years agoMerge pull request #98 from encukou/python3-parametrized-exceptions
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

10 years agoAdd information about protocol, request, and response to NoNameservers exception. 98/head
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

10 years agoConvert NoNameservers exception to the new DNSException style.
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

10 years agoAdd response to NoAnswer exception.
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().

10 years agoConvert NoAnswer exception to the new DNSException style.
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

10 years agoReturn list of non-existent names as part of str(NXDOMAIN).
Petr Spacek [Thu, 19 Mar 2015 17:03:19 +0000 (18:03 +0100)] 
Return list of non-existent names as part of str(NXDOMAIN).

10 years agoReturn timeout duration as part of str(Timeout).
Petr Spacek [Thu, 19 Mar 2015 17:02:08 +0000 (18:02 +0100)] 
Return timeout duration as part of str(Timeout).

10 years agoTest new DNSException behavior.
Petr Spacek [Fri, 20 Mar 2015 12:39:28 +0000 (13:39 +0100)] 
Test new DNSException behavior.

10 years agoSeparate class docstring and default str() messages in DNSException.
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.

10 years agoAdd list pretty-printing for parametrized exceptions.
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>].

10 years agoAdd support for parametrizable __str__ in DNSException.
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.

10 years agoFix failing test for Zone.to_file 97/head
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.

10 years agozone.to_text() needs to make a StringIO
Bob Halley [Sat, 21 Mar 2015 14:53:38 +0000 (07:53 -0700)] 
zone.to_text() needs to make a StringIO

10 years agoAdd tests for str() handling in DNSException.
Petr Spacek [Mon, 19 Jan 2015 14:16:24 +0000 (15:16 +0100)] 
Add tests for str() handling in DNSException.

10 years agoRemove redundant 'pass' from class definitions.
Petr Spacek [Fri, 16 Jan 2015 12:10:46 +0000 (13:10 +0100)] 
Remove redundant 'pass' from class definitions.

10 years agoAdd missing docstring for BadTTL exception.
Petr Spacek [Fri, 16 Jan 2015 12:10:04 +0000 (13:10 +0100)] 
Add missing docstring for BadTTL exception.

10 years agoExtend NoNameservers exception with list of servers and respective errors.
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"

10 years agoExtend NoAnswer exception with optional question.
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."

10 years agoAmend doc strings for all DNSExceptions to make them suitable for direct printing.
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.

10 years agoSupport string representation for all DNSExceptions.
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.

11 years agoAll rdata comparsion now uses the digestable form.
Bob Halley [Fri, 5 Sep 2014 15:10:16 +0000 (08:10 -0700)] 
All rdata comparsion now uses the digestable form.

11 years agoAdd CAA.
Bob Halley [Fri, 5 Sep 2014 15:09:44 +0000 (08:09 -0700)] 
Add CAA.

11 years agoRemove deprecated universal newlines flag to open(). v1.12.0-py3
Bob Halley [Mon, 1 Sep 2014 13:09:19 +0000 (06:09 -0700)] 
Remove deprecated universal newlines flag to open().

11 years agoPrep 1.12.0
Bob Halley [Mon, 1 Sep 2014 13:03:07 +0000 (06:03 -0700)] 
Prep 1.12.0

11 years agoUpdate ChangeLog.
Bob Halley [Mon, 1 Sep 2014 12:42:07 +0000 (05:42 -0700)] 
Update ChangeLog.

11 years agoOverhaul test suite to allow testing in place.
Bob Halley [Mon, 1 Sep 2014 00:40:54 +0000 (17:40 -0700)] 
Overhaul test suite to allow testing in place.

11 years agoAdd dns.ipv6.is_mapped(); Reverse IPv6 mapped IPv4 into v4 space.
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.

11 years agoFix python3 port problem.
Bob Halley [Mon, 1 Sep 2014 00:29:23 +0000 (17:29 -0700)] 
Fix python3 port problem.

11 years agoFix test_rdtypeanydnskey.py for python3.
Bob Halley [Mon, 1 Sep 2014 00:17:19 +0000 (17:17 -0700)] 
Fix test_rdtypeanydnskey.py for python3.

11 years agoAdd dns.rdtypes.ANY.DNSKEY.flags_to_text_set() and flags_from_text_set().
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.

11 years agoAllow empty APL RR.
Bob Halley [Mon, 1 Sep 2014 00:14:05 +0000 (17:14 -0700)] 
Allow empty APL RR.

11 years agoFix relativization in RRSIG to_text().
Bob Halley [Mon, 1 Sep 2014 00:05:05 +0000 (17:05 -0700)] 
Fix relativization in RRSIG to_text().

11 years agoFix exception when reading from a masterfile.
Bob Halley [Mon, 1 Sep 2014 00:02:56 +0000 (17:02 -0700)] 
Fix exception when reading from a masterfile.

11 years agoFix some issues with dns.zone.to_file().
Bob Halley [Sun, 31 Aug 2014 23:59:30 +0000 (16:59 -0700)] 
Fix some issues with dns.zone.to_file().

11 years agopull up unicode escaping changes.
Bob Halley [Sun, 31 Aug 2014 23:59:05 +0000 (16:59 -0700)] 
pull up unicode escaping changes.

11 years agoAdd dns.zone.to_text() convenience method.
Bob Halley [Sat, 21 Jun 2014 15:55:09 +0000 (08:55 -0700)] 
Add dns.zone.to_text() convenience method.

11 years agoTweak options rotate.
Bob Halley [Sun, 31 Aug 2014 23:36:03 +0000 (16:36 -0700)] 
Tweak options rotate.

11 years agoPull up fcde73a2b6c323e55eaf74192885b2d4922a719a from dnspython.
Bob Halley [Sun, 31 Aug 2014 23:31:20 +0000 (16:31 -0700)] 
Pull up fcde73a2b6c323e55eaf74192885b2d4922a719a from dnspython.

11 years agoadd options rotate handling
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?).

11 years agoPull up 42a85bfb058e6d59b7674651c6fba3aebd8a3481 from dnspython.
Bob Halley [Sun, 31 Aug 2014 23:26:59 +0000 (16:26 -0700)] 
Pull up 42a85bfb058e6d59b7674651c6fba3aebd8a3481 from dnspython.

11 years agoAllows to copy dns.name.Name objects
bastiak [Thu, 20 Feb 2014 12:41:15 +0000 (13:41 +0100)] 
Allows to copy dns.name.Name objects

11 years agoFix vertical precision parsing for LOC records.
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.

11 years agoFix default size, horizontal and vertical precition values for LOC records.
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.

11 years agoDo not put back an unescaped token.
Bob Halley [Fri, 11 Apr 2014 15:05:49 +0000 (08:05 -0700)] 
Do not put back an unescaped token.

11 years agoResponses to messages signed with TSIG were broken.
Bob Halley [Fri, 4 Apr 2014 13:16:44 +0000 (06:16 -0700)] 
Responses to messages signed with TSIG were broken.

11 years agoIn LOC, deal with 0 values for size, horizontal precision, and vertical precision.
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.

11 years agoRemove lingering ord()s from is_multicast()
Bob Halley [Fri, 10 Jan 2014 14:18:47 +0000 (06:18 -0800)] 
Remove lingering ord()s from is_multicast()

12 years agoFix problems with the IXFR state machine which caused long diffs to
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 :)

12 years agoprep 1.11.1 v1.11.1-py3
Bob Halley [Mon, 2 Sep 2013 19:00:57 +0000 (12:00 -0700)] 
prep 1.11.1

12 years agoPull up to_text() fix (1835bb9ac96818d983e7caf3218851c758019c0c)
Bob Halley [Sun, 1 Sep 2013 23:13:19 +0000 (16:13 -0700)] 
Pull up to_text() fix (1835bb9ac96818d983e7caf3218851c758019c0c)

12 years agoMake multi-message TSIGs compute correctly for algorithms other than MD5
Bob Halley [Mon, 26 Aug 2013 16:14:51 +0000 (09:14 -0700)] 
Make multi-message TSIGs compute correctly for algorithms other than MD5

12 years agoAdd regression test for APL trailing zero bug
Bob Halley [Tue, 13 Aug 2013 16:51:49 +0000 (09:51 -0700)] 
Add regression test for APL trailing zero bug

12 years agoFix APL trailing zero suppression.
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.

12 years agoFix variable name in dnssec._find_candidate_keys
Bob Halley [Fri, 9 Aug 2013 17:04:58 +0000 (10:04 -0700)] 
Fix variable name in dnssec._find_candidate_keys