Skip to content

An implementation of Node's "dns" API based on using "fetch"

Notifications You must be signed in to change notification settings

RobertFischer/fetch-dns

Repository files navigation

fetch-dns

This is a drop-in replacement for Node's dns API. It uses the fetch API under the hood, so anywhere you have fetch, you can have the dns module.

It is left as an exercise for the reader to get this module to be returned when the code says require("dns").

Unimplemented Methods

There are two functions which are not implemented because I don't (yet) know a way to implement them using just the fetch API:

  • reverse
  • lookupService

About

An implementation of Node's "dns" API based on using "fetch"

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published