Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 621 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 621 Bytes

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