This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

google-dns

1.0.1 • Public • Published

CircleCI

Google DNS

A wrapper for Google public DNS.

Not an official Google library and not affiliated with Google.

DNS-over-HTTPS

Google Public DNS offers DNSSEC-validating resolution over an encrypted HTTPS connection using a web-friendly API that does not require browser or OS configuration or installing an extension. DNS-over-HTTPS greatly enhances privacy and security between a client and a recursive resolver, and complements DNSSEC to provide end-to-end authenticated DNS lookups.

Install

yarn install google-dns
# or 
npm i google-dns --save

Usage

import dns from 'google-dns'
 
(async () => {
  const response = await dns('google.com'/*, any */)
 
  console.log(response)
  // await dns('google.com', 'MX')
})()
//

Tests

npm t

License

Google DNS is open-sourced software licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i google-dns

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.16 kB

Total Files

4

Last publish

Collaborators

  • eduardostuart