A DNS resolver written in TypeScript for educational purposes.
yarn
npx tsx src/index.ts <record-type> <domain>
# e.g.
npx tsx src/index.ts A www.k-nut.eu
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`
This Primer was very helpful in understanding the DNS package structure.