tangerine 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1838,7 +1838,9 @@ class Tangerine extends dns.promises.Resolver {
1838
1838
  const dnssec = Boolean(options?.dnssecSecure);
1839
1839
 
1840
1840
  const key = (
1841
- ecsSubnet ? `${rrtype}:${ecsSubnet}:${name}` : `${rrtype}:${name}`
1841
+ ecsSubnet
1842
+ ? `${rrtype}:${ecsSubnet}:${name}${dnssec ? ':dnssec' : ''}`
1843
+ : `${rrtype}:${name}${dnssec ? ':dnssec' : ''}`
1842
1844
  ).toLowerCase();
1843
1845
 
1844
1846
  let result;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tangerine",
3
3
  "description": "Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS (\"DoH\") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends (with TTL and purge support).",
4
- "version": "2.1.2",
4
+ "version": "2.1.3",
5
5
  "author": "Forward Email (https://forwardemail.net)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/forwardemail/nodejs-dns-over-https-tangerine/issues"