dns-middleware
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:DNS-lookup middleware for express/connect
dns-middleware
==============

DNS-lookup middleware for express/connect

Usage
-----
The passed request must have a body consisting of JSON with the following keys:

__query__
 - The address queried

__type__ (defaults to: 'A')
 - The type of query made

__server__ (defaults to: '8.8.8.8')
 - The server to make the query from


The answer is passed back as a JSON with the following keys:

__answer__
 - Contains all the answer-sections in an array

__time__
 - The time it took to make the request

Example
-------
See: [dns-middleware-example](https://github.com/gildean/dns-middleware-example)

License
-------
Unless stated elsewhere, the license as in the LICENSE-file

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。