summaryrefslogtreecommitdiff
path: root/dns
Commit message (Collapse)AuthorAgeFilesLines
* redirect to dnspythonBob Halley2016-09-2091-13748/+0
|
* Fix NameDicts so they keep track of the max_length properly and handle ↵Francisco Izquierdo2016-03-041-6/+46
| | | | things like update properly
* pass the response to NoAnswer correctlyBob Halley2016-02-211-1/+1
|
* Import dns.tsigBob Halley2016-02-211-0/+1
|
* Set response_time to zero when exceptions occur early.Bob Halley2016-02-211-2/+10
|
* Merge pull request #103 from encukou/py3-recordsBob Halley2015-12-033-0/+76
|\ | | | | Py3: Add missing code for URI and TLSA rrtypes from the python2 branch
| * Add TLSA to exports & copyrights listsPetr Viktorin2015-05-271-0/+1
| |
| * Add URI record type (draft-faltstrom-uri-13)Petr Spacek2015-05-272-0/+75
| |
* | Merge pull request #104 from encukou/py3-query-timerBob Halley2015-12-031-0/+6
|\ \ | | | | | | Py3: Add query timer
| * | Fix for timing, begin_time is not a function.Mattias Lundberg2015-05-271-1/+1
| | |
| * | Add response time to the response when querying a server.Mattias Lundberg2015-05-271-0/+6
| |/
* | Merge pull request #102 from encukou/py3-pickleBob Halley2015-12-031-0/+7
|\ \ | | | | | | Py3: Implement the pickle protocol for Name objects
| * | Implement the pickle protocol.Bob Halley2015-05-261-0/+7
| |/
* | Merge pull request #101 from encukou/py3-ecdsaBob Halley2015-12-031-2/+56
|\ \ | | | | | | Add ECDSA to python3 branch
| * | Preliminary Elliptic Curve DNSSEC Validation (requires ecdsa module)Bob Halley2015-05-261-2/+56
| |/
* | Add support for EUI48 and EUI64 RR typesPetr Spacek2015-12-036-0/+134
| |
* | Add support for CDNSKEY record typeJan Vcelak2015-10-315-117/+159
| |
* | Add support for CDS record typeJan Vcelak2015-10-313-0/+22
| |
* | Assign b'' to other_data in make_response when using TSIG.Yuki Izumi2015-10-241-1/+1
| |
* | In python 3, the getaddrinfo 'socktype' parameter was renamed to 'type'Bob Halley2015-10-061-3/+3
| |
* | Fix CAA from_wire()Bob Halley2015-06-131-1/+1
|/
* Merge pull request #97 from encukou/zone-to_fileBob Halley2015-05-211-8/+16
|\ | | | | Fix failing test for Zone.to_file
| * Fix failing test for Zone.to_filePetr Viktorin2015-05-211-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | A fix for https://github.com/rthalley/dnspython/issues/94 Make the to_file method work on string files, unless explicitly told to do binary encoding. Take the line terminator from os, rather than relying on the print function. Change the test to use a text file rather than binary, and add a new test for to_file with a binary file.
* | Add information about protocol, request, and response to NoNameservers ↵Petr Spacek2015-05-211-11/+20
| | | | | | | | | | | | | | | | | | | | | | exception. Information about UDP/TCP protocol usage is returned from str(NoNameservers) but request and response variables are intended for application debug logs and are not returned from str(). str() for parametrized version of the exception now returns string like: All nameservers failed to answer the query localhost. IN URI: Server 192.0.2.1 TCP port 53 anwered BADVERS; Server 192.0.2.2 UDP port 53 anwered BADVERS
* | Convert NoNameservers exception to the new DNSException style.Petr Spacek2015-05-211-17/+17
| | | | | | | | | | str() for parametrized version now returns string like: All nameservers failed to answer the query localhost. IN URI: Server 192.0.2.1 anwered BADVERS; Server 192.0.2.55 anwered BADVERS
* | 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
| |
* | 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
|
* 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-0531-269/+7
|
* Add CAA.Bob Halley2014-09-052-0/+75
|
* Remove deprecated universal newlines flag to open().v1.12.0-py3Bob Halley2014-09-011-1/+1
|
* Prep 1.12.0Bob Halley2014-09-011-2/+2
|
* Overhaul test suite to allow testing in place.Bob Halley2014-08-311-0/+2
|
* Add dns.ipv6.is_mapped(); Reverse IPv6 mapped IPv4 into v4 space.Bob Halley2014-08-312-2/+12
|
* Fix python3 port problem.Bob Halley2014-08-311-1/+1
|
* Add dns.rdtypes.ANY.DNSKEY.flags_to_text_set() and flags_from_text_set().Petr Spacek2014-08-311-0/+48
| | | | Map between DNSKEY RR flags bit array and set of human-readable names.
* Allow empty APL RR.Bob Halley2014-08-311-2/+2
|
* Fix relativization in RRSIG to_text().Bob Halley2014-08-311-1/+1
|
* Fix exception when reading from a masterfile.Bob Halley2014-08-311-1/+1
|