| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add make_resolver_at() and resolve_at(). (#926) | Bob Halley | 2023-04-19 | 1 | -0/+16 |
| | | |||||
| * | Add dns.resolver.resolve_name(). (#903) | Brian Wellington | 2023-03-10 | 1 | -0/+28 |
| | | | | | | | | | | | | | | * Add dns.resolver.resolve_name(). * Add missing type annotations. * Add async resolve_name(). * Replace List[Answer] with HostAnswers. * Switch addresses_and_families() tuple order * Fix comment. | ||||
| * | Resolver "nameserver" object support. (#897) | Bob Halley | 2023-02-25 | 1 | -3/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Resolver "nameserver" object support. This turns the list of nameserver strings in the resolver into a tuple of nameserver objects, which abstract away making queries to a nameserver of a given type. The resolver's legacy nameserver list is "enriched" into a tuple of nameserver objects whenever it is set. Note that you cannot mutate the object other than by setting, e.g. res.nameservers.append("1.2.3.4") will not work. Error message accumulation has been updated to refer to the nameservers using a descriptive text form. * doco fix * more doco fixes * do enrichment at Resolution time * require a later mypy, fix type issues * add nameserver doc | ||||
| * | Improve network checking [#812]. | Bob Halley | 2022-06-04 | 1 | -0/+1 |
| | | |||||
| * | Add tests.util.is_internet_reachable() | Benjamin Drung | 2022-05-16 | 1 | -14/+7 |
| | | | | | | | Introduce `tests.util.is_internet_reachable` to avoid duplicate code. Signed-off-by: Benjamin Drung <bdrung@ubuntu.com> | ||||
| * | black autoformatting | Bob Halley | 2022-03-15 | 1 | -257/+320 |
| | | |||||
| * | Try to appease older unittest | Ishai | 2022-01-13 | 1 | -1/+1 |
| | | |||||
| * | Add resolver edns options | Ishai | 2022-01-10 | 1 | -1/+9 |
| | | |||||
| * | remove out-of-date comment | Bob Halley | 2021-11-16 | 1 | -2/+0 |
| | | |||||
| * | Add WMI-based method for finding resolver info on Windows.win32util | Bob Halley | 2021-11-09 | 1 | -9/+7 |
| | | |||||
| * | Handle DHCP servers returning domains prefixed by dot [#687]. | Bob Halley | 2021-11-07 | 1 | -0/+10 |
| | | |||||
| * | Validate resolver nameservers when set [Issue #699]. | Bob Halley | 2021-10-24 | 1 | -0/+10 |
| | | |||||
| * | If a negative response has an SOA in the authority section, then | Bob Halley | 2021-07-11 | 1 | -1/+74 |
| | | | | | | | | zone_for_name() will now use it to make the search more efficient. zone_for_name() now has an optional lifetime parameter which limits the total time that can be spent resolving. | ||||
| * | add skip rule to testResolverNoNameservers | Bob Halley | 2021-06-15 | 1 | -0/+2 |
| | | |||||
| * | Try to skip dangling CNAME tests if systemd-resolved is running. [Issue #658] | Bob Halley | 2021-06-11 | 1 | -0/+13 |
| | | |||||
| * | Test LifeTimeout and NoNameservers excetpions.lifetime_timeout | Bob Halley | 2021-05-01 | 1 | -0/+61 |
| | | |||||
| * | Apply the resolver search list, domain, and ndots settings in the same way | Bob Halley | 2020-07-27 | 1 | -2/+22 |
| | | | | | that the BIND stub resolver library does. | ||||
| * | more resolver override testing | Bob Halley | 2020-07-26 | 1 | -1/+6 |
| | | |||||
| * | more minor resolver coverage | Bob Halley | 2020-07-25 | 1 | -4/+47 |
| | | |||||
| * | more resolver coverage improvements | Bob Halley | 2020-07-22 | 1 | -2/+27 |
| | | |||||
| * | Make resolver use_edns() conform to its docstring; slightly improve ↵ | Bob Halley | 2020-07-22 | 1 | -0/+10 |
| | | | | | use_edns() logic. | ||||
| * | Fix Answer constructor invocations that missed an API change. | Bob Halley | 2020-07-22 | 1 | -4/+2 |
| | | |||||
| * | Increase branch coverage of the resolver. | Bob Halley | 2020-07-22 | 1 | -29/+96 |
| | | | | | | | | Speed up test resolver by around 6 seconds by mocking the clock. Improve the cleaning test to verify that it really was cleaning that removed the entry, and not get detecting the expiration. | ||||
| * | unify chaining code | Bob Halley | 2020-07-21 | 1 | -2/+14 |
| | | |||||
| * | Set EDNS default payload to 1232. | Bob Halley | 2020-07-20 | 1 | -1/+1 |
| | | |||||
| * | Fix resolver EDNS0 payload size when EDNS0 enabled by resolv.conf. | Bob Halley | 2020-07-20 | 1 | -0/+1 |
| | | | | | [Issue #546] | ||||
| * | better test style | Bob Halley | 2020-07-20 | 1 | -3/+3 |
| | | |||||
| * | Add canonical_name() method to resolver. | Bob Halley | 2020-07-20 | 1 | -0/+14 |
| | | |||||
| * | cache statistics | Bob Halley | 2020-07-19 | 1 | -0/+35 |
| | | |||||
| * | Use the selectors module. | Brian Wellington | 2020-07-17 | 1 | -9/+9 |
| | | | | | | | Previously, there was code to either use select.select or select.poll, depending on OS. This changes it to use the selectors module, using either SelectSelector or PollSelector, but sharing code otherwise. | ||||
| * | Don't read resolv.conf in tests that don't use it. | Brian Wellington | 2020-07-08 | 1 | -5/+6 |
| | | |||||
| * | increase resolver coverage | Bob Halley | 2020-07-01 | 1 | -0/+58 |
| | | |||||
| * | Use `configure=False` in tests to skip reading /etc/resolv.conf | Lumir Balhar | 2020-06-25 | 1 | -5/+5 |
| | | |||||
| * | Add more functionality to nanonameserver. | Brian Wellington | 2020-06-23 | 1 | -7/+6 |
| | | | | | | | | | | | | - When no port is specified, pick the same port for UDP and TCP, so that TCP fallback can be tested. - Change handlers to get a single Request object instead of individual parameters. The Request object contains the message, peer, and connection_type previously passed, and also adds the local address and wire format message. Additionally, it provides convenient properties for accessing the question. | ||||
| * | make read_resolv_conf() tests work on win32 too | Bob Halley | 2020-06-23 | 1 | -2/+4 |
| | | |||||
| * | merge mostly redundant resolv.conf test into existing test | Bob Halley | 2020-06-23 | 1 | -35/+15 |
| | | |||||
| * | test resolv.conf settings | Bob Halley | 2020-06-23 | 1 | -0/+20 |
| | | |||||
| * | improve resolver coverage | Bob Halley | 2020-06-20 | 1 | -0/+19 |
| | | |||||
| * | try a different type for NoData test to make azure happier | Bob Halley | 2020-06-20 | 1 | -2/+2 |
| | | |||||
| * | try a different type for NoData test to make azure happier | Bob Halley | 2020-06-20 | 1 | -1/+1 |
| | | |||||
| * | improve e164 coverage | Bob Halley | 2020-06-19 | 1 | -1/+8 |
| | | |||||
| * | Improve resolver coverage by: | Bob Halley | 2020-06-16 | 1 | -9/+7 |
| | | | | | | | | | | Testing more stuff. Ignoring coverage of Windows as we have no way to integrate coverage data from windows test runs at this time. Ignoring other not important things. | ||||
| * | pass peer and connection type to nanoserver handle() | Bob Halley | 2020-06-02 | 1 | -1/+1 |
| | | |||||
| * | switch to relative import for nanonameservernanonameserver | Bob Halley | 2020-06-01 | 1 | -1/+1 |
| | | |||||
| * | add nanonamserver, a handy testing tool | Bob Halley | 2020-05-31 | 1 | -4/+49 |
| | | |||||
| * | test cache hit with live resolver | Bob Halley | 2020-05-29 | 1 | -0/+10 |
| | | |||||
| * | a bit more cache coverage | Bob Halley | 2020-05-28 | 1 | -0/+55 |
| | | |||||
| * | only do multiple I/O backend testing for live tests, as testing everything 3 ↵ | Bob Halley | 2020-05-28 | 1 | -67/+71 |
| | | | | | times is pointless work | ||||
| * | add one more live resolver test (for NXDOMAIN) | Bob Halley | 2020-05-28 | 1 | -0/+9 |
| | | |||||
| * | tests: resolver Nodata answers | Petr Špaček | 2020-05-28 | 1 | -0/+18 |
| | | |||||
