third_party/dnspython
9 years agoAll rdata comparsion now uses the digestable form. master
Bob Halley [Thu, 4 Sep 2014 22:21:32 +0000 (15:21 -0700)]
All rdata comparsion now uses the digestable form.

9 years agoAdd CAA.
Bob Halley [Thu, 4 Sep 2014 21:50:57 +0000 (14:50 -0700)]
Add CAA.

9 years agoPrep 1.12.0 v1.12.0
Bob Halley [Mon, 1 Sep 2014 13:03:01 +0000 (06:03 -0700)]
Prep 1.12.0

9 years agoFix ChangeLog formatting.
Bob Halley [Mon, 1 Sep 2014 12:41:13 +0000 (05:41 -0700)]
Fix ChangeLog formatting.

9 years agoCope with 64-bit Python on Windows passing the wrong value for the unbounded slice...
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.

9 years agoMerge pull request #76 from bastiak/master
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

9 years agoNSEC3PARAM 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

9 years agoAdd ChangeLog entry for resolver.rotate
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

9 years agoMerge pull request #58 from underrun/options_rotate
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

9 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.

Thanks to Brandon Whaley <redkrieg@gmail.com> for the patch.

9 years agoadd thanks
Bob Halley [Sat, 21 Jun 2014 14:46:47 +0000 (07:46 -0700)]
add thanks

9 years agoFix exception when reading from a masterfile.
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]

9 years agoFix relativization in RRSIG to_text()
Bob Halley [Thu, 19 Jun 2014 13:21:39 +0000 (06:21 -0700)]
Fix relativization in RRSIG to_text()

9 years agoAdd ChangeLog entries for accepted patches.
Bob Halley [Thu, 19 Jun 2014 12:42:02 +0000 (05:42 -0700)]
Add ChangeLog entries for accepted patches.

9 years agoIn _escapify, rename whitespaces_only to unicode_mode
Bob Halley [Thu, 19 Jun 2014 12:41:48 +0000 (05:41 -0700)]
In _escapify, rename whitespaces_only to unicode_mode

9 years agoMerge pull request #67 from bastiak/master
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

9 years agoMerge pull request #71 from spacekpe/DNSKEY.flags_to_text_set
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()

9 years agoAllow empty APL RR.
Bob Halley [Wed, 18 Jun 2014 23:13:39 +0000 (16:13 -0700)]
Allow empty APL RR.

9 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.

9 years agoadd top-level test targets
Bob Halley [Sun, 15 Jun 2014 13:22:44 +0000 (06:22 -0700)]
add top-level test targets

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

9 years agooverhaul test system
Bob Halley [Sat, 31 May 2014 18:07:58 +0000 (11:07 -0700)]
overhaul test system

9 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?).

10 years agoFix improper escaping in Name.to_unicode() method
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

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

10 years agoResponses to messages signed with TSIG were broken.
Bob Halley [Fri, 4 Apr 2014 12:34:49 +0000 (05:34 -0700)]
Responses to messages signed with TSIG were broken.

10 years agoMerge pull request #57 from bastiak/master
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

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

10 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

10 years agoMerge pull request #48 from spacekpe/loc-fix
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

10 years agoMerge pull request #49 from spacekpe/skip-ecdsa-tests
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.

10 years agoSkip 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.

10 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.

10 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.

10 years agotest size, vertical and horizontal precision values in LOC records
Petr Spacek [Tue, 21 Jan 2014 12:43:05 +0000 (13:43 +0100)]
test size, vertical and horizontal precision values in LOC records

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

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 agoprep 1.11.1 v1.11.1
Bob Halley [Mon, 2 Sep 2013 19:00:41 +0000 (12:00 -0700)]
prep 1.11.1

10 years agoMerge pull request #36 from wangwang/fix-dns.name.to_text-error
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...

10 years agoFix bug: module dns.name has no attribution .to_text(); should be <@ name>.to_text()
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()

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

10 years agoMerge pull request #32 from andreif/patch-1
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

10 years agoFix 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

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

10 years agoMerge pull request #29 from jcollie/master
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.

10 years agoPreserve Python 2.4 compatibility.
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.

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

10 years agoUpdate for 1.11
Bob Halley [Sun, 7 Jul 2013 11:06:14 +0000 (12:06 +0100)]
Update for 1.11

10 years agoprep 1.11
Bob Halley [Sun, 30 Jun 2013 20:44:07 +0000 (13:44 -0700)]
prep 1.11

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

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

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

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

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

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

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

11 years agoMerge pull request #16 from uberj/generate4
Bob Halley [Sun, 31 Mar 2013 10:56:55 +0000 (03:56 -0700)]
Merge pull request #16 from uberj/generate4

Generate4

11 years agoMerge pull request #26 from mmmucky/master
Bob Halley [Sun, 31 Mar 2013 10:33:29 +0000 (03:33 -0700)]
Merge pull request #26 from mmmucky/master

 Remove DNSKEY keytag uniqueness assumption (RFC 4034, section 8)

11 years agoRemove DNSKEY keytag uniqueness assumption (RFC 4034, section 8)
James Dempsey [Wed, 27 Mar 2013 20:59:30 +0000 (09:59 +1300)]
Remove DNSKEY keytag uniqueness assumption (RFC 4034, section 8)

11 years agoNote new set_flags() method for dns.resolver.Resolver
Bob Halley [Tue, 25 Sep 2012 16:52:52 +0000 (17:52 +0100)]
Note new set_flags() method for dns.resolver.Resolver

11 years agoMerge pull request #14 from sleach/master
Bob Halley [Tue, 25 Sep 2012 16:44:07 +0000 (09:44 -0700)]
Merge pull request #14 from sleach/master

Added set_flags method to dns.resolver.Resolver

11 years agonote TLSA added
Bob Halley [Tue, 25 Sep 2012 16:38:01 +0000 (17:38 +0100)]
note TLSA added

11 years agoMerge pull request #17 from pieterlexis/TLSA
Bob Halley [Tue, 25 Sep 2012 16:35:12 +0000 (09:35 -0700)]
Merge pull request #17 from pieterlexis/TLSA

Add TLSA (RFC 6698) record type

11 years agoMerge pull request #18 from pieterlexis/master
Bob Halley [Tue, 25 Sep 2012 16:30:03 +0000 (09:30 -0700)]
Merge pull request #18 from pieterlexis/master

Have git ignore *.pyc files

11 years agoAdd TLSA (RFC 6698) record type
Pieter Lexis [Mon, 17 Sep 2012 21:58:20 +0000 (23:58 +0200)]
Add TLSA (RFC 6698) record type

11 years agoHave git ignore .pyc files
Pieter Lexis [Mon, 17 Sep 2012 21:57:32 +0000 (23:57 +0200)]
Have git ignore .pyc files

11 years agoThis patch adds the ability to parse '$GENERATE' statements. See tests for examples.
uberj [Wed, 23 May 2012 17:44:04 +0000 (10:44 -0700)]
This patch adds the ability to parse '$GENERATE' statements. See tests for examples.

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

11 years agoAdded set_flags method to dns.resolver.Resolver to allow overriding of default query...
Sean Leach [Mon, 16 Jul 2012 15:45:23 +0000 (08:45 -0700)]
Added set_flags method to dns.resolver.Resolver to allow overriding of default query flags

11 years agoMerge pull request #10 from stevetauber/master
Bob Halley [Thu, 31 May 2012 08:17:33 +0000 (01:17 -0700)]
Merge pull request #10 from stevetauber/master

Updated documentation for dns.query.xfr

11 years agoUpdating documentation for dns.query.xfr
Steve Tauber [Tue, 29 May 2012 22:32:32 +0000 (15:32 -0700)]
Updating documentation for dns.query.xfr

11 years agoThis patch changes the parser to allow file names used in an $INCLUDE statement to...
uberj [Tue, 22 May 2012 17:55:57 +0000 (10:55 -0700)]
This patch changes the parser to allow file names used in an $INCLUDE statement to not have surrounding quotes.
RFC 1035 doesn't explicitly say that the file name must be surrounded by quotes and bind supports the no quote format.

11 years agofix typos
Bob Halley [Mon, 21 May 2012 17:34:46 +0000 (18:34 +0100)]
fix typos

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

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

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

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

12 years agoAdd source_port support to resolver; fix source_port in query code
Bob Halley [Sun, 8 Apr 2012 12:25:27 +0000 (13:25 +0100)]
Add source_port support to resolver; fix source_port in query code

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

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

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

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

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

12 years agoraise ValueError if the argument to node.replace_rdataset() is not an rdataset
Bob Halley [Sat, 7 Apr 2012 20:43:32 +0000 (21:43 +0100)]
raise ValueError if the argument to node.replace_rdataset() is not an rdataset

12 years agoadd ChangeLog entry for Shane Huntley's trailing junk patch
Bob Halley [Sat, 7 Apr 2012 11:59:10 +0000 (12:59 +0100)]
add ChangeLog entry for Shane Huntley's trailing junk patch

12 years agoMerge pull request #5 from shanehuntley/master
Bob Halley [Sat, 7 Apr 2012 11:50:08 +0000 (04:50 -0700)]
Merge pull request #5 from shanehuntley/master

Add flag to ignore trailing junk

12 years agoAdd flag to ignore trailing junk in message.
Shane Huntley [Mon, 30 Jan 2012 05:56:16 +0000 (21:56 -0800)]
Add flag to ignore trailing junk in message.

12 years agomore 1.10 prep
Bob Halley [Fri, 30 Dec 2011 17:06:53 +0000 (17:06 +0000)]
more 1.10 prep

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

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

12 years agodoco
Bob Halley [Mon, 18 Jul 2011 22:03:50 +0000 (15:03 -0700)]
doco

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

12 years agoadd dns.resolver.override_system_resolver() and dns.resolver.restore_system_resolver()
Bob Halley [Wed, 13 Jul 2011 19:54:54 +0000 (12:54 -0700)]
add dns.resolver.override_system_resolver() and dns.resolver.restore_system_resolver()

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

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

12 years agomake IP address parsing stricter
Bob Halley [Fri, 8 Jul 2011 16:57:41 +0000 (09:57 -0700)]
make IP address parsing stricter

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

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

12 years agofix doco typo
Bob Halley [Tue, 3 May 2011 10:22:04 +0000 (11:22 +0100)]
fix doco typo

12 years agouse // division
Bob Halley [Tue, 3 May 2011 10:21:52 +0000 (11:21 +0100)]
use // division