You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

root-hints

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

root-hints

Provides IP addresses of the DNS root servers, also known as 'root hints'.

Source
npmnpm
Version
1.0.15
Version published
Maintainers
1
Created
Source

root-hints

Provides IP addresses of the DNS root servers, also known as root hints.

Installation

$ npm install --save root-hints

Usage

var hints = require('root-hints');

console.log(hints('A'));
//=> ['198.41.0.4', '192.228.79.201', ...]

console.log(hints('AAAA'));
//=> ['2001:503:BA3E::2:30', '2001:500:84::B', ...]

console.log(hints());
//=> [{ A: '198.41.0.4', AAAA: '2001:503:ba3e::2:30', name: 'a.root-servers.net' }, ...]

© silverwind, distributed under BSD licence

Keywords

dns

FAQs

Package last updated on 03 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts