https://github.com/eduardostuart/google-dns
🌎 A wrapper for Google public DNS.
https://github.com/eduardostuart/google-dns
dns dns-over-https google javascript
Last synced: about 1 year ago
JSON representation
🌎 A wrapper for Google public DNS.
- Host: GitHub
- URL: https://github.com/eduardostuart/google-dns
- Owner: eduardostuart
- License: mit
- Archived: true
- Created: 2017-10-22T22:06:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-14T08:00:22.000Z (about 6 years ago)
- Last Synced: 2025-04-04T14:53:32.363Z (about 1 year ago)
- Topics: dns, dns-over-https, google, javascript
- Language: JavaScript
- Homepage:
- Size: 246 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/eduardostuart/google-dns)
# Google DNS
A wrapper for [Google public DNS](https://dns.google.com).
> Not an official Google library and not affiliated with Google.
## [DNS-over-HTTPS](https://developers.google.com/speed/public-dns/docs/dns-over-https)
> 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
```bash
yarn install google-dns
# or
npm i google-dns --save
```
# Usage
```js
const dns = require('google-dns')
(async () => {
const response = await dns('google.com'/*, any */)
console.log(response)
// await dns('google.com', 'MX')
})()
//
```
# Tests
```bash
npm t
```
# License
Google DNS is open-sourced software licensed under the [MIT](./LICENSE) license.