]>
git.ipfire.org Git - thirdparty/dnspython.git/log
Brian Wellington [Wed, 18 Mar 2020 06:22:56 +0000 (23:22 -0700)]
Fix IPSECKEY relativity.
Brian Wellington [Tue, 17 Mar 2020 00:42:49 +0000 (17:42 -0700)]
Set _have_ecpy=False if pycryptodome isn't found.
Bob Halley [Wed, 11 Mar 2020 17:16:06 +0000 (10:16 -0700)]
Merge pull request #424 from bwelling/master
Add support for EdDSA DNSSEC algorithms.
Brian Wellington [Wed, 11 Mar 2020 17:01:01 +0000 (10:01 -0700)]
Check for Python 3.6 in tests.
Brian Wellington [Wed, 11 Mar 2020 16:51:57 +0000 (09:51 -0700)]
Require Python 3.6 for EdDSA.
Bob Halley [Wed, 11 Mar 2020 16:39:33 +0000 (09:39 -0700)]
typecheck lint
Brian Wellington [Wed, 11 Mar 2020 16:31:22 +0000 (09:31 -0700)]
Add support for EdDSA DNSSEC algorithms.
Bob Halley [Wed, 11 Mar 2020 16:31:15 +0000 (09:31 -0700)]
delint
Bob Halley [Wed, 11 Mar 2020 16:20:01 +0000 (09:20 -0700)]
Merge pull request #415 from Peter200lx/patch-1
Correct Message.is_response docstring
Bob Halley [Wed, 11 Mar 2020 16:05:53 +0000 (09:05 -0700)]
Merge pull request #422 from bwelling/master
Use PyCryptodome for ECDSA.
Brian Wellington [Tue, 10 Mar 2020 17:58:56 +0000 (10:58 -0700)]
Use PyCryptodome for ECDSA.
Bob Halley [Tue, 10 Mar 2020 15:57:15 +0000 (08:57 -0700)]
Merge pull request #421 from tomaskrizek/update-dnssec-algs
dns/dnssec: add missing DNSSEC algorithms
Bob Halley [Tue, 10 Mar 2020 13:32:06 +0000 (06:32 -0700)]
Merge pull request #419 from teward/reverse_query_bugfix
reverse_query: BUGFIX - ipaddr, not address!
Tomas Krizek [Tue, 10 Mar 2020 11:30:32 +0000 (12:30 +0100)]
dns/dnssec: add missing DNSSEC algorithms
Missing algorithms were added, but aren't supported for validation.
Fixes #417
Tomas Krizek [Tue, 10 Mar 2020 09:44:58 +0000 (10:44 +0100)]
dns/dnssec: remove unused function _make_algorithm_id()
The function is no longer used since commit
ce248fd
Thomas Ward [Tue, 10 Mar 2020 01:29:38 +0000 (21:29 -0400)]
reverse_query: BUGFIX - ipaddr, not address!
I made a mistake in the pull req and didn't catch it (OOPS!).
`dns.reversename.from_address(address)` is what was in the code. Unfortunately, that causes a nice, fat `NameError: name 'address' is not defined` error. This fixes that.
Bob Halley [Mon, 9 Mar 2020 23:00:23 +0000 (16:00 -0700)]
Merge pull request #418 from teward/reverse_lookup
Add a reverse_lookup function to Resolver.
Thomas Ward [Mon, 9 Mar 2020 21:37:11 +0000 (17:37 -0400)]
Docstring, naming, args/kwargs for reverse_query
Thomas Ward [Mon, 9 Mar 2020 21:01:00 +0000 (17:01 -0400)]
Docstrings: Update reverse_lookup docstrings
Pull docstring bits from the query function that are relevant for reverse_lookup as we're now pulling the query function's arguments in (except for rdtype and rdclass) as arguments that can be accepted.
Thomas Ward [Mon, 9 Mar 2020 20:58:11 +0000 (16:58 -0400)]
Use dns.reversename, extend reverse_lookup args
Use inbuilt dns.reversename. Extend the self.query argument bits into the reverse_lookup (tcp, source, raise_on_no_answer, source_port, lifetime), and force-define the rdtype and rdclass.
Thomas Ward [Mon, 9 Mar 2020 20:14:55 +0000 (16:14 -0400)]
Add a reverse_lookup function to Resolver.
Utilize the inbuilt ipaddress library and in-built resolver query libraries to provide a reverse_lookup function. This could make it easier for users to set up their own Resolver instances which continue to behave as stub resolvers but also more easily make PTR record lookups, which would be able to be used as a direct result.
This had been written by me as an extension of the Resolver class in my own private class (called DNSResolver, which I only use internally on a few private applications) which extended the init file to define the nameservers if not specified (default: google DNS) and then extended to add the reverse_lookup function call as well.
Feel free to reject if it doesn't make sense, but it would be a nifty function to have (because `dig` for instance has a `-x` flag you can pass which accepts an IP address and will auto-reverse it to get the in-addr.arpa lookup result from nameservers, whether they're stub resolvers or not, which is a nifty function to have here.)
Peter Olson [Sat, 29 Feb 2020 20:32:37 +0000 (12:32 -0800)]
Correct Message.is_response docstring
When testing responses, I discovered that the docstring for Message.is_response had the
comparison backwards, specifically in how the `QR` flag is checked. The documentation
was incorrectly updated in
fc7db7da4284eedaa951e6acc34e6e6f94da1c64
Bob Halley [Thu, 27 Feb 2020 18:12:10 +0000 (10:12 -0800)]
Merge pull request #412 from turtlemonvh/exception-handling-communicate-missing-ecdsa-lib
Raise import error on missing dependency for edcsa lib
timothy [Mon, 24 Feb 2020 23:46:52 +0000 (18:46 -0500)]
Raises import error that doesn't get swallowed on missing dependency for edcsa validation.
Changes NotImplementedError to ImportError.
Brian Wellington [Wed, 12 Feb 2020 02:20:16 +0000 (18:20 -0800)]
Merge pull request #410 from hellocoldworld/patch-1
fix spelling
hellocoldworld [Tue, 11 Feb 2020 16:01:55 +0000 (13:01 -0300)]
fix spelling
Bob Halley [Thu, 9 Jan 2020 14:54:52 +0000 (06:54 -0800)]
Merge pull request #407 from HCrane/ref_dnssec
refactoring of dnssec documentation
Bob Halley [Tue, 7 Jan 2020 21:08:43 +0000 (13:08 -0800)]
Merge pull request #408 from bwelling/master
DoH cleanup.
Brian Wellington [Tue, 7 Jan 2020 21:03:13 +0000 (13:03 -0800)]
DoH cleanup.
Emanuel Moser [Mon, 30 Dec 2019 18:50:10 +0000 (19:50 +0100)]
refactoring of dnssec documentation
- replaces old comments with sphinx style comments
- adds support for sphinx.ext.todo
- since `_validate()` and `_validate_rrsig()` are only internal functions they are removed from documentation
Bob Halley [Tue, 7 Jan 2020 14:53:52 +0000 (06:53 -0800)]
Merge pull request #405 from kimbo/kl/doh-improvements
DoH improvements
Bob Halley [Tue, 7 Jan 2020 14:50:49 +0000 (06:50 -0800)]
Merge pull request #406 from kimbo/kl/validate-nameserver-assignment
Fix #403: make sure Resolver.nameservers is a list or str (or None)
kimbo [Mon, 6 Jan 2020 17:55:07 +0000 (10:55 -0700)]
only allow Resolver.nameservers to be a list
kimbo [Mon, 30 Dec 2019 23:22:51 +0000 (16:22 -0700)]
send_https() and test for it
kimbo [Mon, 30 Dec 2019 22:57:39 +0000 (15:57 -0700)]
example for DNS over HTTPS
kimbo [Mon, 30 Dec 2019 22:53:14 +0000 (15:53 -0700)]
typo
kimbo [Mon, 30 Dec 2019 22:34:46 +0000 (15:34 -0700)]
added bootstrap address option to https()
kimbo [Mon, 30 Dec 2019 21:07:01 +0000 (14:07 -0700)]
remove comment and session.close()
kimbo [Mon, 30 Dec 2019 21:02:33 +0000 (14:02 -0700)]
req'd session param to https() for connection reuse
kimbo [Mon, 30 Dec 2019 16:29:26 +0000 (09:29 -0700)]
change nameserver to nameservers
kimbo [Mon, 30 Dec 2019 16:28:55 +0000 (09:28 -0700)]
added empty list nameservers assignment test
Petr Špaček [Mon, 30 Dec 2019 10:16:07 +0000 (10:16 +0000)]
Merge pull request #404 from kimbo/kl/message-typing
added is_response() to message.pyi
kimbo [Thu, 26 Dec 2019 21:54:31 +0000 (14:54 -0700)]
make sure Resolver.nameservers is a list or str
validate if assignment of Resolver.nameservers is a list, a str (in
which case it will be converted to a list), or None
kimbo [Tue, 24 Dec 2019 15:05:34 +0000 (08:05 -0700)]
removed af param from dns.query.https()
not supporting setting address family for DoH until there is a better
way to do it with the requests api.
kimbo [Tue, 24 Dec 2019 13:59:00 +0000 (06:59 -0700)]
reset allowed_gai_family after every https() call
kimbo [Tue, 24 Dec 2019 13:23:00 +0000 (06:23 -0700)]
import urllib3 directly, not from requests.packages
kimbo [Mon, 23 Dec 2019 22:12:52 +0000 (15:12 -0700)]
add requests and requests-toolbelt to travis
kimbo [Mon, 23 Dec 2019 21:24:56 +0000 (14:24 -0700)]
forgot to remove a couple lines
kimbo [Mon, 23 Dec 2019 21:13:55 +0000 (14:13 -0700)]
updated type hints for dns.query.https
kimbo [Mon, 23 Dec 2019 21:09:11 +0000 (14:09 -0700)]
cleaned up query.py and test_doh
kimbo [Sat, 21 Dec 2019 05:06:59 +0000 (22:06 -0700)]
added requests and requests-toolbelt deps
kimbo [Sat, 21 Dec 2019 05:05:40 +0000 (22:05 -0700)]
added support for source port/address, af
kimbo [Sat, 21 Dec 2019 03:57:50 +0000 (20:57 -0700)]
added `is_response()` to message.pyi
kimbo [Fri, 20 Dec 2019 00:25:27 +0000 (17:25 -0700)]
improvements to dns.query.https
- use requests module (instead of urllib)
- added option to pass in an IP address or a URL
- added basic tests (for dns.query.https)
TODO: af, source_port
Bob Halley [Fri, 13 Dec 2019 17:55:14 +0000 (09:55 -0800)]
Merge pull request #393 from filips123/dns-over-https
Add support for DNS over HTTPS
Bob Halley [Thu, 31 Oct 2019 13:44:08 +0000 (06:44 -0700)]
Merge pull request #397 from tacaswell/py_future
Remove deprecation warnings
Thomas A Caswell [Thu, 31 Oct 2019 00:09:14 +0000 (20:09 -0400)]
CI: add py37 and py38 to test matrix
Thomas A Caswell [Thu, 31 Oct 2019 00:00:24 +0000 (20:00 -0400)]
MNT: use raw string for invalid escape sequence
Thomas A Caswell [Wed, 30 Oct 2019 23:59:13 +0000 (19:59 -0400)]
TST: fix failif -> assertFalse deprecation
failIf was deprecated in py31
Thomas A Caswell [Wed, 30 Oct 2019 23:57:57 +0000 (19:57 -0400)]
TST: fix failUnlessRaises -> assertRaises deprecation
failUnlessRaises was deprecated in py31
Thomas A Caswell [Wed, 30 Oct 2019 23:53:38 +0000 (19:53 -0400)]
TST: fix unittest deprecation
failUnless was deprecated in py31
Thomas A Caswell [Wed, 30 Oct 2019 23:50:52 +0000 (19:50 -0400)]
MNT: use raw string literals for invalid escapes
Thomas A Caswell [Wed, 30 Oct 2019 23:50:38 +0000 (19:50 -0400)]
MNT: do not import ABC directly from collections
Filip Š [Tue, 29 Oct 2019 20:38:45 +0000 (21:38 +0100)]
Remove duplicate message import
Filip Š [Tue, 29 Oct 2019 20:33:14 +0000 (21:33 +0100)]
Add missing comma
Filip Š [Tue, 29 Oct 2019 20:30:03 +0000 (21:30 +0100)]
Handle other parameters
Filip Š [Tue, 29 Oct 2019 19:57:54 +0000 (20:57 +0100)]
Ignore URLs other than HTTPS
Filip Š [Tue, 29 Oct 2019 19:47:12 +0000 (20:47 +0100)]
Rename `doh` method to `https`
Filip Š [Tue, 29 Oct 2019 19:44:53 +0000 (20:44 +0100)]
Merge branch 'master' of https://github.com/rthalley/dnspython into dns-over-https
Bob Halley [Tue, 29 Oct 2019 19:13:30 +0000 (12:13 -0700)]
Merge pull request #396 from kimbo/kl/tls-typehints
typehints for dns.query.tls, pretty up typehints
kimballo [Tue, 29 Oct 2019 19:02:31 +0000 (13:02 -0600)]
typehints for dns.query.tls, pretty up typehints
Bob Halley [Wed, 23 Oct 2019 14:47:34 +0000 (07:47 -0700)]
Merge pull request #394 from kimbo/kl/ecs-__str__
added ecs __str__ function
Bob Halley [Wed, 23 Oct 2019 14:46:57 +0000 (07:46 -0700)]
Merge pull request #395 from kimbo/kl/ecs-from-text
Add ecs `from_text()` method
Bob Halley [Wed, 23 Oct 2019 14:44:03 +0000 (07:44 -0700)]
Cope with ssl module unavailablity using [Issue #392] method.
Bob Halley [Wed, 23 Oct 2019 14:38:26 +0000 (07:38 -0700)]
Merge pull request #392 from bwelling/master
Add support for DNS over TLS
Filip Š [Fri, 4 Oct 2019 19:38:08 +0000 (21:38 +0200)]
Support for DoH GET method
kimbo [Fri, 4 Oct 2019 11:18:51 +0000 (05:18 -0600)]
added __str__ for GenericOption
kimballo [Thu, 3 Oct 2019 23:01:46 +0000 (17:01 -0600)]
fix python 3.5 format string
kimballo [Thu, 3 Oct 2019 19:04:28 +0000 (13:04 -0600)]
added ecs __str__ function
kimballo [Thu, 3 Oct 2019 19:02:21 +0000 (13:02 -0600)]
added tests for dns.edns.ECSOption.from_text()
kimballo [Thu, 3 Oct 2019 19:02:09 +0000 (13:02 -0600)]
added dns.edns.ECSOption.from_text()
Bob Halley [Tue, 1 Oct 2019 18:14:28 +0000 (11:14 -0700)]
Merge pull request #363 from tmerila/patch-1
Getting the value for default TTL from SOA RDATA before checking the TTL of the record
Filip Š [Mon, 30 Sep 2019 20:39:35 +0000 (22:39 +0200)]
Merge branch 'master' of https://github.com/rthalley/dnspython into dns-over-https
Brian Wellington [Mon, 30 Sep 2019 19:39:18 +0000 (12:39 -0700)]
Add server_hostname to dns.query.tls()
Brian Wellington [Mon, 30 Sep 2019 18:56:27 +0000 (11:56 -0700)]
Clients should pass SERVER_AUTH.
Brian Wellington [Mon, 30 Sep 2019 18:51:16 +0000 (11:51 -0700)]
Add support for DoT (DNS over TLS)
Bob Halley [Sun, 29 Sep 2019 21:51:13 +0000 (14:51 -0700)]
Merge pull request #391 from kimbo/nameserver-queried
added nameserver and port to Answer (wip #384)
Bob Halley [Sun, 29 Sep 2019 21:21:44 +0000 (14:21 -0700)]
my patience has run out; I will lint and typecheck manually for now
Bob Halley [Sun, 29 Sep 2019 21:17:50 +0000 (14:17 -0700)]
continue struggling with travis bitrot
Bob Halley [Sun, 29 Sep 2019 21:14:23 +0000 (14:14 -0700)]
more travis flailing
Bob Halley [Sun, 29 Sep 2019 21:09:53 +0000 (14:09 -0700)]
more dep hackery for linting
Bob Halley [Sun, 29 Sep 2019 21:03:41 +0000 (14:03 -0700)]
temporarily disable typechecking due to version skew in dependencies
Bob Halley [Sun, 29 Sep 2019 20:41:58 +0000 (13:41 -0700)]
Merge pull request #379 from ianamason/master
Update README.md
Bob Halley [Sun, 29 Sep 2019 20:39:41 +0000 (13:39 -0700)]
When doing xfr, do not compare with expiration if it is None.
[Issue #390]
Bob Halley [Sun, 29 Sep 2019 20:32:57 +0000 (13:32 -0700)]
Merge pull request #389 from bwelling/master
Improve TCP connect behavior.
Filip Š [Sat, 28 Sep 2019 15:43:48 +0000 (17:43 +0200)]
Add support for DoH
Brian Wellington [Fri, 30 Aug 2019 18:42:12 +0000 (11:42 -0700)]
Improve TCP connect behavior.
Before this change, the _connect() method would start the connection
process, but not wait for it to complete. This would leave the socket
in an indeterminate state until some other code checked for writability,
and would lose the error code if the connect failed.
This changes _connect() to wait for the connection to complete, and
raises and exception with the appropriate error code if it fails.
kimbo [Fri, 16 Aug 2019 02:58:27 +0000 (22:58 -0400)]
added nameserver and port to Answer (wip #384)
Bob Halley [Sun, 28 Jul 2019 13:39:31 +0000 (06:39 -0700)]
Merge pull request #385 from kimbo/alternate-dot-root-names
Alternate dot root names
kimbo [Sat, 27 Jul 2019 03:24:56 +0000 (23:24 -0400)]
tests for alternate dots for root in dns.name.from_unicode