Skip to content

Releases: LayeredStudio/dns-records

v2.1

23 May 16:53
Compare
Choose a tag to compare

Added:

  • option to skip checking subdomains from built-in list
  • if resolver option is not set, the best dns resolver for current JS runtime will be used

v2

22 May 17:50
Compare
Choose a tag to compare
v2

v2 is here

@layered/dns-records now uses http DNS resolvers by default, so it works in all JavaScript runtimes. Using DNS lookup withdig command is still available, but needs to be included specifically when querying DNS records.

Breaking changes

  • the library is ESM only now. Use v1.x if your projects uses CommonJS require()
  • getAllRecords() renamed to getAllDnsRecords()
  • getNameServers is removed, use getDnsRecords(name: string, type = 'NS')

What's new

  • DNS lookup over http. resolver option in getDnsRecords() and getAllDnsRecords() can be set to cloudflare-dns (default), google-dns or a Function that does custom dns lookup
  • new function getAllDnsRecordsStream that can return dns record lines as they're discovered

v1.5

09 Dec 14:00
Compare
Choose a tag to compare
  • Updated - remove ending dot form domain result, ex: ns1.example.com. -> ns1.example.com

1.4.3

29 Nov 19:13
Compare
Choose a tag to compare
  • Fixed - match more subdomains into wildcard group
  • Removed - some unused subdomains from list

v1.4.2

11 Sep 15:26
Compare
Choose a tag to compare
  • Updated - Discover BIMI txt record

v1.4.1

02 Jul 14:48
Compare
Choose a tag to compare
  • Updated - extract subdomains from TXT spf record

v1.4.0

16 May 11:29
Compare
Choose a tag to compare
  • Updated - improved subdomain discovery in found records
  • Fixed - correctly return found TXT records

v1.3.2

13 Jan 13:58
Compare
Choose a tag to compare
  • Updated - Catch errors for ANY DNS query
  • Updated - Readme texts

v1.3.1

02 Nov 17:59
Compare
Choose a tag to compare

Fixed - use full path for time command

v1.3

02 Nov 09:52
Compare
Choose a tag to compare

Added - response time for NS servers