]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
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

12 years agoretry_servfail -> self.retry_servfail
Bob Halley [Wed, 17 Jul 2013 07:23:26 +0000 (08:23 +0100)] 
retry_servfail -> self.retry_servfail

12 years agofix doco v1.11.0-py3
Bob Halley [Sun, 7 Jul 2013 11:20:42 +0000 (12:20 +0100)] 
fix doco

12 years agoupdate for 1.11
Bob Halley [Sun, 7 Jul 2013 11:05:50 +0000 (12:05 +0100)] 
update for 1.11

12 years agoAdd some backwards compatibility to the winreg fix
Bob Halley [Sun, 7 Jul 2013 11:05:29 +0000 (12:05 +0100)] 
Add some backwards compatibility to the winreg fix

12 years agoprep 1.11
Bob Halley [Sun, 30 Jun 2013 20:43:51 +0000 (13:43 -0700)] 
prep 1.11

12 years agopull up $GENERATE
Bob Halley [Sun, 30 Jun 2013 19:46:19 +0000 (12:46 -0700)] 
pull up $GENERATE

12 years agoadd set_flags()
Bob Halley [Sun, 30 Jun 2013 19:34:27 +0000 (12:34 -0700)] 
add set_flags()

12 years agoDo not insist the filename of a $INCLUDE is quoted
Bob Halley [Sun, 30 Jun 2013 19:29:53 +0000 (12:29 -0700)] 
Do not insist the filename of a $INCLUDE is quoted

12 years agoAdd TLSA
Bob Halley [Sun, 30 Jun 2013 19:26:03 +0000 (12:26 -0700)] 
Add TLSA

12 years agoignore .pyc files
Bob Halley [Sun, 30 Jun 2013 19:14:53 +0000 (12:14 -0700)] 
ignore .pyc files

12 years agofix typo
Bob Halley [Thu, 30 May 2013 09:27:58 +0000 (10:27 +0100)] 
fix typo

12 years agoDo not add items with offsets >= 2^14 to the compression table
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

12 years agoIn dns.ipv6.inet_ntoa(), do not use :: to shorten just one 16-bit 0 field
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

12 years agolock caches in case they are shared
Bob Halley [Sun, 31 Mar 2013 11:52:35 +0000 (12:52 +0100)] 
lock caches in case they are shared

12 years agoDo not retry SERVFAILing nameservers by default
Bob Halley [Sun, 31 Mar 2013 11:32:16 +0000 (12:32 +0100)] 
Do not retry SERVFAILing nameservers by default

12 years agoturn tab into spaces
Bob Halley [Sun, 31 Mar 2013 11:32:04 +0000 (12:32 +0100)] 
turn tab into spaces

12 years agoRaise YXDOMAIN if we see a YXDOMAIN rcode
Bob Halley [Sun, 31 Mar 2013 11:21:34 +0000 (12:21 +0100)] 
Raise YXDOMAIN if we see a YXDOMAIN rcode

12 years agodo not print empty rdatasets
Bob Halley [Sun, 31 Mar 2013 11:20:40 +0000 (12:20 +0100)] 
do not print empty rdatasets

12 years agoPull up James Dempsey's fix: Remove DNSKEY keytag uniqueness assumption (RFC 4034...
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)

12 years agoMerge pull request #20 from lambacck/python3
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

13 years agoFix _winreg renamed to winreg in python 3 20/head
Christopher Lambacher [Sun, 16 Dec 2012 04:42:38 +0000 (23:42 -0500)] 
Fix _winreg renamed to winreg in python 3

13 years agoDo not generate empty NSEC3 bitmap windows
Bob Halley [Tue, 28 Aug 2012 20:58:33 +0000 (13:58 -0700)] 
Do not generate empty NSEC3 bitmap windows

13 years agomerge rdclass default value doco fix
Bob Halley [Thu, 31 May 2012 08:19:27 +0000 (09:19 +0100)] 
merge rdclass default value doco fix

13 years agofix typos
Bob Halley [Mon, 21 May 2012 17:35:58 +0000 (18:35 +0100)] 
fix typos

13 years agoFix python3 port issues with RSA validation
Bob Halley [Tue, 10 Apr 2012 12:07:31 +0000 (13:07 +0100)] 
Fix python3 port issues with RSA validation

13 years agofix typo v1.10.0-py3
Bob Halley [Sun, 8 Apr 2012 13:27:20 +0000 (14:27 +0100)] 
fix typo

13 years agoadd release marker
Bob Halley [Sun, 8 Apr 2012 13:25:48 +0000 (14:25 +0100)] 
add release marker

13 years agodoco fixes
Bob Halley [Sun, 8 Apr 2012 13:22:51 +0000 (14:22 +0100)] 
doco fixes

13 years agoallow all EDNS parameters to be specifed when making a query
Bob Halley [Sun, 8 Apr 2012 12:55:48 +0000 (13:55 +0100)] 
allow all EDNS parameters to be specifed when making a query

13 years agoAdd source_port support to resolver; fix source_port in query code
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

13 years agoremove obsolete TODO
Bob Halley [Sun, 8 Apr 2012 11:38:11 +0000 (12:38 +0100)] 
remove obsolete TODO

13 years agomore 1.10 prep
Bob Halley [Sun, 8 Apr 2012 11:20:43 +0000 (12:20 +0100)] 
more 1.10 prep

13 years agotry TCP if UDP response is truncated
Bob Halley [Sun, 8 Apr 2012 11:10:44 +0000 (12:10 +0100)] 
try TCP if UDP response is truncated

13 years agoadd check_origin parameter to dns.zone.from_xfr()
Bob Halley [Sat, 7 Apr 2012 21:16:05 +0000 (22:16 +0100)] 
add check_origin parameter to dns.zone.from_xfr()

13 years agoallow whitespace in SSHFP fingerprints
Bob Halley [Sat, 7 Apr 2012 21:09:05 +0000 (22:09 +0100)] 
allow whitespace in SSHFP fingerprints

13 years agofix python2ism
Bob Halley [Sat, 7 Apr 2012 21:08:24 +0000 (22:08 +0100)] 
fix python2ism

13 years agoraise ValueError if the argument to node.replace_rdataset() is not an rdataset
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

13 years agomerge trailing junk control
Bob Halley [Sat, 7 Apr 2012 20:15:14 +0000 (21:15 +0100)] 
merge trailing junk control

13 years agoBytesIO not StringIO
Bob Halley [Sat, 7 Apr 2012 20:12:23 +0000 (21:12 +0100)] 
BytesIO not StringIO

13 years agomore 1.10 prep
Bob Halley [Fri, 30 Dec 2011 17:07:21 +0000 (17:07 +0000)] 
more 1.10 prep

14 years agoadd LRUCache
Bob Halley [Wed, 24 Aug 2011 10:51:54 +0000 (11:51 +0100)] 
add LRUCache

14 years agodoco
Bob Halley [Mon, 18 Jul 2011 22:05:53 +0000 (15:05 -0700)] 
doco

14 years agopackaging updates
Bob Halley [Mon, 18 Jul 2011 22:05:42 +0000 (15:05 -0700)] 
packaging updates

14 years agothe next version will be 1.10.0
Bob Halley [Wed, 13 Jul 2011 19:57:36 +0000 (12:57 -0700)] 
the next version will be 1.10.0

14 years agoadd dns.resolver.override_system_resolver() and dns.resolver.restore_system_resolver()
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()

14 years agomore v6 strictness; more unit tests
Bob Halley [Wed, 13 Jul 2011 02:00:28 +0000 (19:00 -0700)] 
more v6 strictness; more unit tests

14 years agoincrease IPv4 parsing strictness yet more
Bob Halley [Wed, 13 Jul 2011 00:57:21 +0000 (17:57 -0700)] 
increase IPv4 parsing strictness yet more

14 years agomake address parsing stricter
Bob Halley [Sat, 9 Jul 2011 00:50:10 +0000 (17:50 -0700)] 
make address parsing stricter

14 years agofix typo
Bob Halley [Sat, 11 Jun 2011 16:36:52 +0000 (17:36 +0100)] 
fix typo

14 years agoupdate copyrights
Bob Halley [Thu, 12 May 2011 14:48:55 +0000 (15:48 +0100)] 
update copyrights

14 years agoassume the python3 executable is called python3
Bob Halley [Thu, 12 May 2011 14:46:51 +0000 (15:46 +0100)] 
assume the python3 executable is called python3

14 years agocall the python3 kit dnspython3-x.y.z
Bob Halley [Thu, 12 May 2011 14:46:29 +0000 (15:46 +0100)] 
call the python3 kit dnspython3-x.y.z

14 years agowork around using "sorted" as a parameter name by using module "builtins"
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"

14 years agoreversename for v6 was generating bogus values
Bob Halley [Wed, 4 May 2011 21:39:47 +0000 (22:39 +0100)] 
reversename for v6 was generating bogus values

14 years agofind the dnspython.org master server and query it
Bob Halley [Tue, 3 May 2011 10:19:39 +0000 (11:19 +0100)] 
find the dnspython.org master server and query it

14 years agopy3 port
Bob Halley [Tue, 3 May 2011 10:13:31 +0000 (11:13 +0100)] 
py3 port

14 years agoundo mistaken base64 change to DNSKEY
Bob Halley [Tue, 3 May 2011 10:09:04 +0000 (11:09 +0100)] 
undo mistaken base64 change to DNSKEY