Skip to content

Commit fcabe7a

Browse files
committed
Version 0.3.0
1 parent 803ffed commit fcabe7a

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
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)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
6363
2. `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

dns_cache/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
except ImportError:
1717
HostsCache = None
1818

19-
__version__ = "0.2.0"
19+
__version__ = "0.3.0"
2020

2121

2222
class Resolver(AggressiveCachingResolver, ExceptionCachingResolver):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from setuptools import find_packages, setup
55

6-
__version__ = "0.2.0"
6+
__version__ = "0.3.0"
77

88
classifiers = """\
99
Environment :: Console

0 commit comments

Comments
 (0)