Releases: LayeredStudio/dns-records
Releases · LayeredStudio/dns-records
v2.3
v2.2.2
v2.2.1
- updated: Workflow to publish npm package
v2.2
- Read Authority field in Cloudflare/Google DNS response #59 thanks @stevefrench39
- Return consistent data from all DNS resolvers: remove ending dot from record names & values. Ex:
google.com.
->google.com
v2.1
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
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 CommonJSrequire()
getAllRecords()
renamed togetAllDnsRecords()
getNameServers
is removed, usegetDnsRecords(name: string, type = 'NS')
What's new
- DNS lookup over http.
resolver
option ingetDnsRecords()
andgetAllDnsRecords()
can be set tocloudflare-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
- Updated - remove ending dot form domain result, ex:
ns1.example.com.
->ns1.example.com
1.4.3
- Fixed - match more subdomains into wildcard group
- Removed - some unused subdomains from list
v1.4.2
- Updated - Discover BIMI txt record
v1.4.1
- Updated - extract subdomains from TXT spf record