File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3- ## 0.3.0dev
3+ ## 0.3.0
44
5- [ Full Changelog] ( https://github.com/jayvdb/dns-cache/compare/0.2.0... )
5+ [ Full Changelog] ( https://github.com/jayvdb/dns-cache/compare/0.2.0...0.3.0 )
66
77** Implemented enhancements:**
88
99- Add dnspython 2 support
10- - ExceptionCachingResolver: Cache authority and additional sections ([ dcadbb] ( https://github.com/jayvdb/dns-cache/commit/dcadbb ) )
10+ - ` ExceptionCachingResolver ` : Cache authority and additional sections ([ dcadbb] ( https://github.com/jayvdb/dns-cache/commit/dcadbb ) )
11+ - ` HostsCache ` : Add preloaded hosts (e.g. ` /etc/hosts ` ) cache ([ fc9ec2] ( https://github.com/jayvdb/dns-cache/commit/fc9ec2 ) )
1112
1213** Fixed bugs:**
1314
1415- ExceptionCachingResolver: Do not cache ` NoMetaqueries ` ([ 5f571e] ( https://github.com/jayvdb/dns-cache/commit/5f571e ) )
16+ - Fix patched ` socket.gethostbyname ` to resolve names in ` /etc/hosts ` ([ issue 11] ( https://github.com/jayvdb/dns-cache/issues/11 ) )
1517
16- ** Closed issues :**
18+ ** Other :**
1719
18- - None
20+ - Update tests to handle changes in Google DNS behaviour
21+ - Many more tests
22+ - Testing against many U.S. DNS servers
1923
2024## [ 0.2.0] ( https://github.com/jayvdb/dns-cache/tree/0.2.0 ) (2020-03-09)
2125[ Full Changelog] ( https://github.com/jayvdb/dns-cache/compare/0.1.0...0.2.0 )
Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ The following classes can be used separately or together.
6161 but reducing the number of requests and cached responses when several related records are requested, such as a HTTP redirect
6262 from www.foo.com to foo.com (or vis versa) where one is a CNAME point to the other.
63632 . ` dns_cache.resolver.ExceptionCachingResolver ` : caches lookup failures.
64+ 3 . ` dns_cache.hosts.HostsCache ` : preloads hosts (e.g. ` /etc/hosts ` ) into a cache
6465
6566** Note:** ` dns_cache.override_system_resolver() ` can be used to install a custom ` resolver ` or ` cache ` , which may
66- be derived from the above classes or your own implementation from scratch.
67+ be derived from the above classes or your own implementation from scratch. It preloads ` /etc/hosts ` .
6768
6869## Similar projects
6970
Original file line number Diff line number Diff line change 1616except ImportError :
1717 HostsCache = None
1818
19- __version__ = "0.2 .0"
19+ __version__ = "0.3 .0"
2020
2121
2222class Resolver (AggressiveCachingResolver , ExceptionCachingResolver ):
Original file line number Diff line number Diff line change 33
44from setuptools import find_packages , setup
55
6- __version__ = "0.2 .0"
6+ __version__ = "0.3 .0"
77
88classifiers = """\
99 Environment :: Console
You can’t perform that action at this time.
0 commit comments