Skip to content
/ tsdns Public

A DNS resolver written in TypeScript for educational purposes.

Notifications You must be signed in to change notification settings

k-nut/tsdns

Repository files navigation

TS-DNS

Tests

A DNS resolver written in TypeScript for educational purposes.

Installation

npm install

Running

npx tsx src/index.ts <record-type> <domain>
# e.g.
npx tsx src/index.ts A www.k-nut.eu

Tests

npm run test             # starts unit tests in watch mode
npm run test:ci          # runs unit tests once and reports coverage
npm run test:integration # runs integrations tests comparing to `dig`

References

This Primer was very helpful in understanding the DNS package structure.

About

A DNS resolver written in TypeScript for educational purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •