File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
- ## 0.3.0dev
3
+ ## 0.3.0
4
4
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 )
6
6
7
7
** Implemented enhancements:**
8
8
9
9
- 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 ) )
11
12
12
13
** Fixed bugs:**
13
14
14
15
- 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 ) )
15
17
16
- ** Closed issues :**
18
+ ** Other :**
17
19
18
- - None
20
+ - Update tests to handle changes in Google DNS behaviour
21
+ - Many more tests
22
+ - Testing against many U.S. DNS servers
19
23
20
24
## [ 0.2.0] ( https://github.com/jayvdb/dns-cache/tree/0.2.0 ) (2020-03-09)
21
25
[ 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.
61
61
but reducing the number of requests and cached responses when several related records are requested, such as a HTTP redirect
62
62
from www.foo.com to foo.com (or vis versa) where one is a CNAME point to the other.
63
63
2 . ` dns_cache.resolver.ExceptionCachingResolver ` : caches lookup failures.
64
+ 3 . ` dns_cache.hosts.HostsCache ` : preloads hosts (e.g. ` /etc/hosts ` ) into a cache
64
65
65
66
** 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 ` .
67
68
68
69
## Similar projects
69
70
Original file line number Diff line number Diff line change 16
16
except ImportError :
17
17
HostsCache = None
18
18
19
- __version__ = "0.2 .0"
19
+ __version__ = "0.3 .0"
20
20
21
21
22
22
class Resolver (AggressiveCachingResolver , ExceptionCachingResolver ):
Original file line number Diff line number Diff line change 3
3
4
4
from setuptools import find_packages , setup
5
5
6
- __version__ = "0.2 .0"
6
+ __version__ = "0.3 .0"
7
7
8
8
classifiers = """\
9
9
Environment :: Console
You can’t perform that action at this time.
0 commit comments