summaryrefslogtreecommitdiff
path: root/dns/resolver.py
Commit message (Collapse)AuthorAgeFilesLines
* redirect to dnspythonBob Halley2016-09-201-1290/+0
|
* pass the response to NoAnswer correctlyBob Halley2016-02-211-1/+1
|
* Import dns.tsigBob Halley2016-02-211-0/+1
|
* In python 3, the getaddrinfo 'socktype' parameter was renamed to 'type'Bob Halley2015-10-061-3/+3
|
* 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-211-5/+5
|
* Remove redundant 'pass' from class definitions.Petr Spacek2015-02-121-4/+0
|
* 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-121-8/+5
| | | | printing.
* Tweak options rotate.Bob Halley2014-08-311-1/+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?).
* retry_servfail -> self.retry_servfailBob Halley2013-07-171-1/+1
|
* Add some backwards compatibility to the winreg fixBob Halley2013-07-071-1/+4
|
* add set_flags()Bob Halley2013-06-301-0/+12
|
* lock caches in case they are sharedBob Halley2013-03-311-49/+80
|
* Do not retry SERVFAILing nameservers by defaultBob Halley2013-03-311-1/+5
|
* Raise YXDOMAIN if we see a YXDOMAIN rcodeBob Halley2013-03-311-0/+7
|
* Fix _winreg renamed to winreg in python 3Christopher Lambacher2012-12-151-1/+1
|
* doco fixesBob Halley2012-04-081-2/+1
|
* Add source_port support to resolver; fix source_port in query codeBob Halley2012-04-081-7/+14
|
* try TCP if UDP response is truncatedBob Halley2012-04-081-0/+18
|
* add LRUCacheBob Halley2011-08-241-2/+126
|
* add dns.resolver.override_system_resolver() and ↵Bob Halley2011-07-131-0/+235
| | | | dns.resolver.restore_system_resolver()
* update copyrightsBob Halley2011-05-121-1/+1
|
* get the first thing from a dictionary view in the python 3 wayBob Halley2011-05-031-1/+1
|
* merge changes up to py3merge2 tag; update tests to assert styleBob Halley2011-04-281-9/+38
|
* merge 1.9.2 masterBob Halley2010-12-121-5/+15
|
* pull up use_tsig() invocation fixBob Halley2010-03-141-1/+2
|
* Initial python 3 port (may have sharp edges still!)Bob Halley2010-01-251-12/+7
|
* create exceptions with arguments as "raise E(args)" instead of "raise E, args"Bob Halley2010-01-141-11/+11
|
* update copyrights for 2010Bob Halley2010-01-131-1/+1
|
* add support for more TSIG algorithmsBob Halley2009-11-131-3/+12
|
* Set the domain correctly on WindowsBob Halley2009-06-191-2/+2
|
* Allow a source port to be specifiedBob Halley2009-06-181-5/+9
|
* update copyrightsBob Halley2009-06-181-1/+1
|
* fix indentationBob Halley2007-03-281-46/+46
|
* find enabled NICs on Windows VistaBob Halley2007-02-081-9/+58
|
* update copyrights for 2007Bob Halley2007-01-011-1/+1
|
* if /etc/resolv.conf does not exist, just use the default resolver configBob Halley2006-08-171-1/+7
|
* call self._config_win32_search() with the right variableBob Halley2006-07-271-1/+1
|
* implement more of the sequence protocol in AnswerBob Halley2006-07-201-2/+17
|
* oopsBob Halley2006-03-281-1/+1
|
* don't remove from a list while iterating itBob Halley2006-03-271-1/+1
|
* do not delay responses for successful queriesBob Halley2006-03-171-0/+2
|
* cope with irritating windows registry list delimitersBob Halley2006-01-041-7/+24
|