| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Asyncio sockets should work after a timeout [#843]. | Bob Halley | 2022-10-06 | 1 | -5/+7 | |
| | | ||||||
| * | Deal with leading dots in search lists on Windows [#844]. | Bob Halley | 2022-10-06 | 1 | -2/+2 | |
| | | ||||||
| * | more lint | Bob Halley | 2022-10-02 | 7 | -11/+21 | |
| | | ||||||
| * | lint | Bob Halley | 2022-10-02 | 1 | -1/+1 | |
| | | ||||||
| * | When scanning interfaces with WMI, ignore those without DNS | Bob Halley | 2022-08-23 | 1 | -5/+6 | |
| | | | | | configuration. [#834] | |||||
| * | add $ to allow_directives if missing | Bob Halley | 2022-08-16 | 1 | -1/+8 | |
| | | ||||||
| * | fix typos | Bob Halley | 2022-08-15 | 1 | -2/+2 | |
| | | ||||||
| * | allow zonefile directives to be specified explicitly | Bob Halley | 2022-08-14 | 2 | -15/+51 | |
| | | ||||||
| * | Add idna_codec parameter to dns.zone.from_file() [#832] | Bob Halley | 2022-08-14 | 1 | -0/+2 | |
| | | ||||||
| * | Add support for more bases in $GENERATE | corubba | 2022-08-05 | 1 | -18/+37 | |
| | | | | | | | | | | | | When reading a zone from a zonefile, the `$GENERATE` resolution now not only supports decimal but also octal, hexadecimal and nibbles. When using nibbles with an even width, the generated index may end with a dot, and alone is interpreted as a absolute name. This behaviour is consistent with bind, but may cause these records to be dropped by the subdomain-check in `zonefile.py:398` (see also the `h.*` labels in the testcase that are missing from the result). | |||||
| * | fix format string lint detected by flake8 5.0.3 | Bob Halley | 2022-08-02 | 1 | -2/+2 | |
| | | ||||||
| * | Merge pull request #822 from bwelling/rdatatype-fixes | Bob Halley | 2022-07-17 | 2 | -16/+36 | |
| |\ | | | | | Fix dns.rdatatype special cases. | |||||
| | * | Fix dns.rdatatype special cases. | Brian Wellington | 2022-07-15 | 2 | -16/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, there was logic in dns.rdatatype.from_text() and to_text() to deal with types not handled by the RdataType enum; specifically, the NSAP-PTR type (the enum value has a different name, because of the hyphen) and user-registered types. This was fine when internal code called these methods, but most callers of from_text() were converted to dns.rdatatype.RdataType.make(), which supports both integer and text input, and it doesn't handle the special cases. This change adds more hooks into the enum wrapper and moves the special case handling for RdataType into them. | |||||
| * | | fixed dnpython.org typo | Chris Kuipers | 2022-06-03 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fix passing source address with httpx. | Brian Wellington | 2022-03-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | When dns.query.https() is passed a source address, it needs to create an adapter for either requests or httpx to use it. As it doesn't know which one will actually be used, it creates both. But then if it decides to use httpx, it attempts to attach the requests adapter, which fails. | |||||
| * | | Fix httpx verify bug. | Brian Wellington | 2022-03-25 | 1 | -1/+1 | |
| |/ | | | | | | | | | If both source and verify are passed to dns.query.https() when using httpx, the verify parameter is ignored. This is because the code creates a custom transport for the source address, and httpx only uses the verify parameter when creating a transport. The fix is to pass in the verify parameter when we create a transport. | |||||
| * | fix type of query paramater to https() method | Bob Halley | 2022-03-25 | 2 | -3/+6 | |
| | | ||||||
| * | Add EDNS padding. | Bob Halley | 2022-03-23 | 4 | -34/+142 | |
| | | ||||||
| * | style(asyncquery): change the ``httpx.AsyncClient`` type annotation to a ↵ | Ryu juheon | 2022-03-20 | 1 | -1/+1 | |
| | | | | | string literal | |||||
| * | Use nullcontext for async code, as well. | Brian Wellington | 2022-03-18 | 1 | -66/+47 | |
| | | | | | | | We can't use contextlib.nullcontext(), as it doesn't support async context managers until 3.10, but we can use dns._asyncbackend.NullContext. | |||||
| * | Add typing info. | Brian Wellington | 2022-03-18 | 4 | -7/+7 | |
| | | ||||||
| * | Use contextlib.nullcontext(). | Brian Wellington | 2022-03-18 | 4 | -47/+49 | |
| | | | | | | Replaces uses of contextlib.ExitStack, since nullcontext() is available in 3.7. | |||||
| * | threading is always available from 3.7 on | Bob Halley | 2022-03-18 | 4 | -26/+11 | |
| | | ||||||
| * | join adjacent strings (formatting) | Bob Halley | 2022-03-17 | 8 | -22/+12 | |
| | | ||||||
| * | black autoformatting | Bob Halley | 2022-03-15 | 106 | -2953/+4597 | |
| | | ||||||
| * | remove extraneous "pass", and follow the existing dnspython style | Bob Halley | 2022-03-12 | 1 | -13/+7 | |
| | | ||||||
| * | Add type annotations for various BaseResolver attributes | wouter bolsterlee | 2022-03-11 | 1 | -14/+42 | |
| | | | | | | | | | | | | | | | | This adds class level type annotations for BaseResolver attributes. partially based on the existing annotations from `.reset()` (which have now moved). Mypy does not infer BaseResolver attributes because those are not defined `.__init__()` method, but in `.reset()`; there is already a pylint override for this. The result is that application code that accesses `resolver.port` and other attributes incorrectly triggers mypy errors about the seemingly not existing attribute. While at it, fix a few easy to address mypy/flake8 warnings that popped up on my screen while editing this file. | |||||
| * | windows typing fixes | Bob Halley | 2022-03-11 | 1 | -1/+4 | |
| | | ||||||
| * | One more pass, after adding --disallow-incomplete-defs | Bob Halley | 2022-03-11 | 24 | -92/+103 | |
| | | ||||||
| * | add missing request_mac annotation to async methods | Bob Halley | 2022-03-10 | 1 | -2/+3 | |
| | | ||||||
| * | Typing pass number 2, featuring typing of bools, adding a return type | Bob Halley | 2022-03-10 | 29 | -367/+436 | |
| | | | | | | of "-> None" to procedures, and various fixes for omissions, errors, and new issues discovered by type checking previously unchecked things. | |||||
| * | misc type annotation lint | Bob Halley | 2022-03-08 | 5 | -8/+8 | |
| | | ||||||
| * | LGTM lint | Bob Halley | 2022-03-06 | 13 | -17/+12 | |
| | | ||||||
| * | Remove 3.6-specific code. | Bob Halley | 2022-03-05 | 6 | -123/+9 | |
| | | | | | | We still have to add AsyncExitStacks, and this requires making the associated socket wrappers async context managers. | |||||
| * | add return type to get_soa() | Bob Halley | 2022-03-05 | 1 | -3/+3 | |
| | | ||||||
| * | Add integrated typing to much of dnspython. | Bob Halley | 2022-03-05 | 71 | -1447/+1328 | |
| | | ||||||
| * | Merge pull request #781 from jschlyter/zone_get_soa | Bob Halley | 2022-02-23 | 1 | -1/+20 | |
| |\ | | | | | implement dns.zone.Zone.get_soa() | |||||
| | * | allow txn argument as suggested by @rthalley | Jakob Schlyter | 2022-02-21 | 1 | -2/+5 | |
| | | | ||||||
| | * | use get_soa() in compute_digest() | Jakob Schlyter | 2022-02-19 | 1 | -1/+1 | |
| | | | ||||||
| | * | raise NoSOA if there is no SOA record | Jakob Schlyter | 2022-02-19 | 1 | -2/+2 | |
| | | | ||||||
| | * | implement dns.zone.Zone.get_soa() | Jakob Schlyter | 2022-02-19 | 1 | -0/+16 | |
| | | | ||||||
| * | | more lgtm linting | Bob Halley | 2022-02-23 | 1 | -3/+3 | |
| | | | ||||||
| * | | more lgtm lint | Bob Halley | 2022-02-21 | 3 | -7/+10 | |
| |/ | ||||||
| * | apply TLS minimums on 3.6 too | Bob Halley | 2022-02-17 | 2 | -0/+4 | |
| | | ||||||
| * | lgtm lint: suppress false positive | Bob Halley | 2022-02-17 | 1 | -1/+2 | |
| | | ||||||
| * | set a minimum TLS version when we can | Bob Halley | 2022-02-17 | 2 | -5/+11 | |
| | | ||||||
| * | one more bit of lgtm lint | Bob Halley | 2022-02-17 | 1 | -8/+4 | |
| | | ||||||
| * | more lgtm linting | Bob Halley | 2022-02-17 | 17 | -28/+38 | |
| | | ||||||
| * | LGTM linting | Bob Halley | 2022-02-16 | 6 | -14/+16 | |
| | | ||||||
| * | Add missing types to exceptions stub | Steven Silvester | 2022-02-03 | 1 | -0/+2 | |
| | | ||||||
