summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add response to NoAnswer exception.Petr Spacek2015-05-211-4/+7
| | | | | | | | | | | | Only question section is returned from str(NoAnswer). Whole response variable is intended for application debug logs and is not returned from str().
| * Convert NoAnswer exception to the new DNSException style.Petr Spacek2015-05-211-12/+4
| | | | | | | | | | str() for paramerized exceptions returns string like: The DNS response does not contain an answer to the question: localhost. IN URI
| * Return list of non-existent names as part of str(NXDOMAIN).Petr Spacek2015-05-211-1/+16
| |
| * Return timeout duration as part of str(Timeout).Petr Spacek2015-05-212-5/+7
| |
| * Test new DNSException behavior.Petr Spacek2015-05-211-0/+24
| |
| * Separate class docstring and default str() messages in DNSException.Petr Spacek2015-05-211-4/+9
| | | | | | | | | | | | str() for non-parametrized exceptions still defaults to class docstring but now it is possible to simply override the message by defining class.msg variable.
| * Add list pretty-printing for parametrized exceptions.Petr Spacek2015-05-211-1/+20
| | | | | | | | | | | | All list entries are converted to strings before the list is printed. I.e. one-item list is printed as 'vm-123.idm.lab.eng.brq.redhat.com. IN NS' instead [<DNS vm-123.idm.lab.eng.brq.redhat.com. IN NS RRset>].
| * Add support for parametrizable __str__ in DNSException.Petr Spacek2015-05-211-2/+50
|/ | | | | | | | | | | | This change makes __init__ and __str__ parametrization simpler and keeps backward compatiblity with old code which does not use keyword arguments in raise(). Parametrized __str__ can be implemented simply by defining "fmt" and "supp_kwargs" class variables in particular exception class. Doc string is used in cases where specific message parameters were not provided during instantiation/raise.
* zone.to_text() needs to make a StringIOBob Halley2015-03-211-1/+1
|
* Add tests for str() handling in DNSException.Petr Spacek2015-02-121-0/+38
|
* Remove redundant 'pass' from class definitions.Petr Spacek2015-02-1226-58/+0
|
* Add missing docstring for BadTTL exception.Petr Spacek2015-02-121-1/+1
|
* Extend NoNameservers exception with list of servers and respective errors.Petr Spacek2015-02-121-8/+31
| | | | | String represetation of the NoNameservers exception now looks like: "No non-broken nameservers are available to answer the query. Server 10.16.78.1 REFUSED; Server 10.16.78.2 SERVFAIL"
* Extend NoAnswer exception with optional question.Petr Spacek2015-02-121-5/+16
| | | | | | The actual question will be printed as part of string representation of NoAnswer exception instead of terse "The response did not contain an answer to the question."
* Amend doc strings for all DNSExceptions to make them suitable for direct ↵Petr Spacek2015-02-1215-52/+47
| | | | printing.
* Support string representation for all DNSExceptions.Petr Spacek2015-02-121-1/+6
| | | | | Doc string is used in cases where more specific message was not provided during instantiation/raise.
* All rdata comparsion now uses the digestable form.Bob Halley2014-09-0532-269/+17
|
* Add CAA.Bob Halley2014-09-056-0/+99
|
* Remove deprecated universal newlines flag to open().v1.12.0-py3Bob Halley2014-09-011-1/+1
|
* Prep 1.12.0Bob Halley2014-09-014-5/+46
|
* Update ChangeLog.Bob Halley2014-09-011-2/+29
|
* Overhaul test suite to allow testing in place.Bob Halley2014-08-3119-4/+30
|
* Add dns.ipv6.is_mapped(); Reverse IPv6 mapped IPv4 into v4 space.Bob Halley2014-08-314-2/+25
|
* Fix python3 port problem.Bob Halley2014-08-311-1/+1
|
* Fix test_rdtypeanydnskey.py for python3.Bob Halley2014-08-311-9/+9
|
* Add dns.rdtypes.ANY.DNSKEY.flags_to_text_set() and flags_from_text_set().Petr Spacek2014-08-312-0/+116
| | | | Map between DNSKEY RR flags bit array and set of human-readable names.
* Allow empty APL RR.Bob Halley2014-08-312-2/+10
|
* Fix relativization in RRSIG to_text().Bob Halley2014-08-311-1/+1
|
* Fix exception when reading from a masterfile.Bob Halley2014-08-312-1/+10
|
* Fix some issues with dns.zone.to_file().Bob Halley2014-08-312-2/+2
|
* pull up unicode escaping changes.Bob Halley2014-08-311-8/+18
|
* Add dns.zone.to_text() convenience method.Bob Halley2014-08-314-0/+164
|
* Tweak options rotate.Bob Halley2014-08-312-1/+11
|
* Pull up fcde73a2b6c323e55eaf74192885b2d4922a719a from dnspython.Bob Halley2014-08-311-0/+1
|
* add options rotate handlingBatch User2014-08-311-0/+7
| | | | | for resolv.conf "options rotate" line, enable shuffling of nameservers before each query. (should just rotate start position and maintain order?).
* Pull up 42a85bfb058e6d59b7674651c6fba3aebd8a3481 from dnspython.Bob Halley2014-08-311-3/+8
|
* Allows to copy dns.name.Name objectsbastiak2014-08-311-0/+7
|
* Fix vertical precision parsing for LOC records.Petr Spacek2014-08-311-2/+2
| | | | | Vertical precision value was ignored if the optional 'm' (unit) was missing at the end of input and rest of the input was ignored.
* Fix default size, horizontal and vertical precition values for LOC records.Petr Spacek2014-08-311-7/+15
| | | | | Default values in RFC 1876 are in meters but the old code used the numerical value as centimeters.
* Do not put back an unescaped token.Bob Halley2014-04-112-1/+7
|
* Responses to messages signed with TSIG were broken.Bob Halley2014-04-043-4/+33
|
* In LOC, deal with 0 values for size, horizontal precision, and vertical ↵Bob Halley2014-03-031-0/+2
| | | | precision.
* Remove lingering ord()s from is_multicast()Bob Halley2014-01-102-4/+7
|
* Fix problems with the IXFR state machine which caused long diffs toBob Halley2013-12-112-5/+18
| | | | | fail. Thanks to James Raftery for the fix and the repeated prodding to get it applied :)
* prep 1.11.1v1.11.1-py3Bob Halley2013-09-024-6/+62
|
* Pull up to_text() fix (1835bb9ac96818d983e7caf3218851c758019c0c)Bob Halley2013-09-011-1/+1
|
* Make multi-message TSIGs compute correctly for algorithms other than MD5Bob Halley2013-08-262-1/+8
|
* Add regression test for APL trailing zero bugBob Halley2013-08-131-0/+7
|
* Fix APL trailing zero suppression.Bob Halley2013-08-131-1/+1
| | | | This was a part of the port to python3 that got missed... chr(0) != 0.
* Fix variable name in dnssec._find_candidate_keysBob Halley2013-08-091-2/+2
|