Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eknkc/fastdns
Caching wrapper for native DNS module
https://github.com/eknkc/fastdns
Last synced: 9 days ago
JSON representation
Caching wrapper for native DNS module
- Host: GitHub
- URL: https://github.com/eknkc/fastdns
- Owner: eknkc
- Created: 2016-02-29T20:33:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-29T21:10:36.000Z (almost 9 years ago)
- Last Synced: 2024-12-17T01:34:12.336Z (17 days ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fastdns
## install
```shell
npm install fastdns
```## use
`fastdns` patches the native `dns` module and provides a lru cache on all responses for 5 minutes.
You need to require the module, and use the dns module as usual. All native modules and libraries should have the caching applied to them.```js
require('fastdns');
```