{"id":15676858,"url":"https://github.com/silverwind/root-hints","last_synced_at":"2026-05-21T02:19:46.773Z","repository":{"id":21195384,"uuid":"24505443","full_name":"silverwind/root-hints","owner":"silverwind","description":"Provides IP addresses of the DNS root server, aka root hints","archived":false,"fork":false,"pushed_at":"2021-07-06T14:26:08.000Z","size":136,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T15:35:46.956Z","etag":null,"topics":["dns","javascript","root-hints"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silverwind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-26T15:47:15.000Z","updated_at":"2024-08-12T19:24:11.000Z","dependencies_parsed_at":"2022-08-26T20:12:13.052Z","dependency_job_id":null,"html_url":"https://github.com/silverwind/root-hints","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverwind%2Froot-hints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverwind%2Froot-hints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverwind%2Froot-hints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silverwind%2Froot-hints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silverwind","download_url":"https://codeload.github.com/silverwind/root-hints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252777783,"owners_count":21802649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","javascript","root-hints"],"created_at":"2024-10-03T16:06:27.223Z","updated_at":"2026-05-21T02:19:46.767Z","avatar_url":"https://github.com/silverwind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# root-hints\n[![](https://img.shields.io/npm/v/root-hints.svg?style=flat)](https://www.npmjs.org/package/root-hints) [![](https://img.shields.io/npm/dm/root-hints.svg)](https://www.npmjs.org/package/root-hints) [![](https://packagephobia.com/badge?p=root-hints)](https://packagephobia.com/result?p=root-hints)\n\u003e Provides IP addresses of the DNS root servers, also known as root hints.\n\n## Installation\n\n```sh\n$ npm i root-hints\n```\n\n## Usage\n\n```js\nconst rootHints = require('root-hints');\n\nrootHints('A');\n// ['198.41.0.4', '192.228.79.201', ...]\n\nrootHints('AAAA');\n// ['2001:503:BA3E::2:30', '2001:500:84::B', ...]\n\nrootHints();\n// [{ A: '198.41.0.4', AAAA: '2001:503:ba3e::2:30', name: 'a.root-servers.net' }, ...]\n```\n\n© [silverwind](https://github.com/silverwind), distributed under BSD licence\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverwind%2Froot-hints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilverwind%2Froot-hints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverwind%2Froot-hints/lists"}