dns-query
Advanced tools
Comparing version 0.11.0 to 0.11.1
10
index.js
@@ -397,6 +397,8 @@ "use strict"; | ||
return { | ||
entries: (data.answers || []).map(answer => ({ | ||
data: combineTXT(answer.data), | ||
ttl: answer.ttl | ||
})).sort((a, b) => { | ||
entries: (data.answers || []).filter(answer => answer.type === 'TXT' && answer.data).map(answer => { | ||
return { | ||
data: combineTXT(answer.data), | ||
ttl: answer.ttl | ||
}; | ||
}).sort((a, b) => { | ||
if (a.data > b.data) return 1; | ||
@@ -403,0 +405,0 @@ if (a.data < b.data) return -1; |
{ | ||
"name": "dns-query", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Node & Browser tested, Non-JSON DNS over HTTPS fetching with minimal dependencies.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -451,2 +451,28 @@ "use strict"; | ||
}, { | ||
name: 'dnsforfamily-doh', | ||
endpoint: { | ||
protocol: 'https:', | ||
host: 'dns-doh.dnsforfamily.com' | ||
}, | ||
description: '(DoH Protocol) (Now supports DNSSEC). Block adult websites, gambling websites, malwares and advertisements.\nIt also enforces safe search in: Google, YouTube, Bing, DuckDuckGo and Yandex.\nSocial websites like Facebook and Instagram are not blocked. No DNS queries are logged.\nAs of 26-May-2022 5.9 million websites are blocked and new websites are added to blacklist daily.\nCompletely free, no ads or any commercial motive. Operating for 4 years now.\nProvided by: https://dnsforfamily.com', | ||
country: 'Finland', | ||
location: { | ||
lat: 60.1758, | ||
long: 24.9349 | ||
}, | ||
filter: true | ||
}, { | ||
name: 'dnsforfamily-doh-no-safe-search', | ||
endpoint: { | ||
protocol: 'https:', | ||
host: 'dns-doh-no-safe-search.dnsforfamily.com' | ||
}, | ||
description: '(DoH Protocol) (Now supports DNSSEC) Block adult websites, gambling websites, malwares and advertisements.\nUnlike other dnsforfamily servers, this one does not enforces safe search. So Google, YouTube, Bing, DuckDuckGo and Yandex are completely accessible without any restriction.\nSocial websites like Facebook and Instagram are not blocked. No DNS queries are logged.\nAs of 26-May-2022 5.9 million websites are blocked and new websites are added to blacklist daily.\nCompletely free, no ads or any commercial motive. Operating for 4 years now.\nWarning: This server is incompatible with anonymization.\nProvided by: https://dnsforfamily.com', | ||
country: 'Finland', | ||
location: { | ||
lat: 60.1758, | ||
long: 24.9349 | ||
}, | ||
filter: true | ||
}, { | ||
name: 'dnsforge.de', | ||
@@ -658,2 +684,9 @@ endpoint: { | ||
}, { | ||
name: 'doh-ibksturm', | ||
endpoint: { | ||
protocol: 'https:', | ||
host: 'ibksturm.synology.me' | ||
}, | ||
description: 'DoH & DoT Server, No Logging, No Filters, DNSSEC\nRunning privately by ibksturm in Thurgau, Switzerland' | ||
}, { | ||
name: 'doh-jp-blahdns', | ||
@@ -1083,4 +1116,4 @@ endpoint: { | ||
}], | ||
time: 1654185279537 | ||
time: 1654187067783 | ||
}; | ||
exports.resolvers = resolvers; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
171739
4697