Adds DoH capabilities
This commit is contained in:
parent
b9992f4f27
commit
c9af1d0b79
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ export async function findTxtRecord(host) {
|
|||
const resolver = new DohResolver('https://doh.hosterra.tech/dns-query');
|
||||
const resolved = await resolver.query( host );
|
||||
console.log(resolved);
|
||||
throw new Error(resolved);
|
||||
/*if (resolved.response.answers) {
|
||||
for (const head of resolved.response.answers) {
|
||||
const txtData = parseTxtRecordData(head.data);
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue