| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add want_origin parameter to zone to_text() and to_file(). | Bob Halley | 2021-06-13 | 1 | -0/+28 |
| | | | | | [Issue #654] | ||||
| * | make `name in zone` consistent with `zone[name]` | kimbo | 2021-02-16 | 1 | -0/+10 |
| | | | | | | specifically, allow name to be a str, and raise a KeyError if name cannot be converted into a dns.name.Name | ||||
| * | improve versioned zone coverage | Bob Halley | 2020-09-01 | 1 | -0/+46 |
| | | |||||
| * | add some versioned zone test cases | Bob Halley | 2020-09-01 | 1 | -0/+25 |
| | | |||||
| * | node replace_rdataset() should not permit rrsets | Bob Halley | 2020-08-18 | 1 | -0/+9 |
| | | |||||
| * | test cleanups and more coverage | Bob Halley | 2020-07-24 | 1 | -63/+84 |
| | | |||||
| * | a way of doing commentscomments | Bob Halley | 2020-07-20 | 1 | -2/+27 |
| | | |||||
| * | more zone test coverage | Bob Halley | 2020-06-18 | 1 | -0/+27 |
| | | |||||
| * | test bad class in zone | Bob Halley | 2020-06-17 | 1 | -0/+5 |
| | | |||||
| * | improve coverage | Bob Halley | 2020-06-17 | 1 | -0/+88 |
| | | |||||
| * | some IDNA 2008 tests were not getting skipped if idna was not available | Bob Halley | 2020-06-17 | 1 | -0/+3 |
| | | |||||
| * | attempt to fix the last windows error | Bob Halley | 2020-06-15 | 1 | -1/+1 |
| | | |||||
| * | compare files in a way that avoids newlines issues on windows and gives ↵ | Bob Halley | 2020-06-15 | 1 | -19/+27 |
| | | | | | better error results | ||||
| * | print out more if file comparison fails | Bob Halley | 2020-06-15 | 1 | -0/+11 |
| | | |||||
| * | IDNA support for zones, messages, names in rdata, rrsets, and rdatasets. | Bob Halley | 2020-05-03 | 1 | -0/+27 |
| | | |||||
| * | zone.to_text() should return a string. | Brian Wellington | 2020-03-20 | 1 | -2/+2 |
| | | | | | | | As part of the Python 3 conversion, the result of dns.zone.to_text() changed from str to bytes. This was likely unintentional, as a method with text in its name should be returning text. | ||||
| * | Remove choose_relativity() from zone.from_xfr() | Brian Wellington | 2020-03-18 | 1 | -0/+33 |
| | | | | | | | | | | | The comment states that relativize must be consistent between dns.query.xfr() and dns.zone.from_xfr(), and the code fails if they're not (if check_origin is True, at least). This means that the rdata is already correctly relativized (or not). This also adds a test of creating zones from xfrs, both relativized and not. | ||||
| * | Improve assertion checking. | Brian Wellington | 2020-03-18 | 1 | -32/+32 |
| | | | | | | This replaces lots of self.assertTrue() assertions with more specific assertions, such as replacing assertTrue(x == y) with assertEqual(x, y). | ||||
| * | TST: fix failUnlessRaises -> assertRaises deprecation | Thomas A Caswell | 2019-10-30 | 1 | -9/+9 |
| | | | | | failUnlessRaises was deprecated in py31 | ||||
| * | TST: fix unittest deprecation | Thomas A Caswell | 2019-10-30 | 1 | -42/+42 |
| | | | | | failUnless was deprecated in py31 | ||||
| * | remove the rest of the unicode string prefixes | Bob Halley | 2019-01-08 | 1 | -1/+1 |
| | | |||||
| * | update copyright | Bob Halley | 2018-12-01 | 1 | -0/+2 |
| | | |||||
| * | Initial type signatures | Janus | 2018-07-31 | 1 | -73/+73 |
| | | |||||
| * | Improve TTL detection when reading master zone files. | Tom Lanyon | 2017-05-31 | 1 | -3/+59 |
| | | | | | | | | | | | | | | | | | | | | | This introduces the same behaviour that BIND has when it encounters implicit TTL values, namely: * The $TTL directive is preferred to set the default TTL [RFC2308]. * If no $TTL directive is seen prior to the SOA RR, the default TTL is set to the minimum TTL field of the SOA RR [RFC1033, RFC1035, RFC1912]. * If neither $TTL nor an SOA are present, use the last seen explicit TTL on an RR or raise a SyntaxError if no explicit TTLs have been seen. Previously, when neither $TTL nor SOA were present, the TTL for an RR without an explicit TTL would be set to 0 which is known to be a somewhat dangerous value and shouldn't be encouraged as a default. One test seems to rely on this default TTL=0 behaviour whilst testing something seemingly unrelated (RR starting with whitespace), so that test has been updated to match this new expectation. Fixes #254. | ||||
| * | Test creates file in wrong location | Avram Lubkin | 2016-10-04 | 1 | -1/+1 |
| | | | | test_zone.ZoneTestCase.testToFileFilename fails with OSError: [Errno 2] No such file or directory | ||||
| * | Merge pull request #197 from bastiak/pylint | Bob Halley | 2016-09-18 | 1 | -15/+12 |
| |\ | | | | | Pylint | ||||
| | * | Pylint: remove unused variables | Martin | 2016-08-31 | 1 | -15/+12 |
| | | | | | | | | | This commit removes some unused variables (except those in iterations, list comprehensions and used for unpacking) | ||||
| * | | Add zone.to_file tests | Martin | 2016-08-31 | 1 | -0/+53 |
| |/ | | | | Test covers both binary and textual mode for files and streams | ||||
| * | Pylint: tests: Fix whitespace errors | Martin | 2016-07-02 | 1 | -1/+1 |
| | | |||||
| * | Pylint: tests: fix singleton comparison | Martin | 2016-07-02 | 1 | -5/+5 |
| | | |||||
| * | Fix typos | Jakub Wilk | 2016-05-26 | 1 | -1/+1 |
| | | |||||
| * | Allow an origin of None to be specified when constructing a | Bob Halley | 2016-05-11 | 1 | -0/+3 |
| | | | | | | Zone object. [issue #153] | ||||
| * | Allow zone origin to be specified as a string. | Bob Halley | 2016-05-08 | 1 | -0/+11 |
| | | |||||
| * | python3 support | Arthur Gautier | 2016-04-21 | 1 | -26/+37 |
| | | | | | Signed-off-by: Arthur Gautier <baloo@gandi.net> | ||||
| * | Adds tox and coverage.py | Arthur Gautier | 2016-04-21 | 1 | -1/+4 |
| | | | | | Signed-off-by: Arthur Gautier <baloo@gandi.net> | ||||
| * | Add dns.zone.to_text() convenience method. | Bob Halley | 2014-06-21 | 1 | -0/+14 |
| | | | | | Thanks to Brandon Whaley <redkrieg@gmail.com> for the patch. | ||||
| * | Fix exception when reading from a masterfile. | Bob Halley | 2014-06-21 | 1 | -1/+10 |
| | | | | | | | | 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] | ||||
| * | overhaul test system | Bob Halley | 2014-05-31 | 1 | -0/+389 |
