denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
97.86k stars 5.39k forks source link

Improve `DNS.resolveDns()` record types supported. #14492

Open PatrickChoDev opened 2 years ago

PatrickChoDev commented 2 years ago

Since Deno uses the trust-dns library to resolve DNS, we should make it support all record types that the library supports, eg. We may need to change the test suite in order to make the test suite more virtual, such as having multiple A and NS records.

Reference : Trust DNS RecordTypes

Tasks:

This is a long-term issue, please do not open PR which will close this issue.

cmorten commented 2 years ago

As a starter for 10 on next record types, suggest the following for Node compat:

Though sounds like the aim of this issue to somewhat grander to nicely abstract around trust-dns to get all record types?

PatrickChoDev commented 2 years ago

New zone file task mark as finished from #14534