Adds DoH capabilities

This commit is contained in:
Pierre Lannoy 2023-12-13 19:11:35 +01:00
commit 117b8c4dfe
Signed by: Pierre Lannoy
GPG key ID: D27231EF87D53F31

View file

@ -82,7 +82,7 @@ export async function findTxtRecord(host) {
.catch(throw new Error(err));*/
const resolved = await resolver.query( host );
const resolved = await resolver.query( '_.' + host );
//console.log(resolved);
throw new Error(JSON.stringify(resolved));
/*if (resolved.response.answers) {