Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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');
```