Adds DoH capabilities
This commit is contained in:
parent
a6486e6db2
commit
b9992f4f27
1 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +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);
|
||||
if (resolved.response.answers) {
|
||||
/*if (resolved.response.answers) {
|
||||
for (const head of resolved.response.answers) {
|
||||
const txtData = parseTxtRecordData(head.data);
|
||||
if (!txtData[recordParamDestUrl]) continue;
|
||||
|
|
@ -75,7 +75,7 @@ export async function findTxtRecord(host) {
|
|||
httpStatus: txtData[recordParamHttpStatus],
|
||||
};
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
/*resolver.query( host)
|
||||
.then(response => {
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue