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

yarn

Running

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

Tests

yarn test             # starts unit tests in watch mode
yarn test:ci          # runs unit tests once and reports coverage
yarn 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