diff --git a/src/index.ts b/src/index.ts index 6d45da4..5cf4a4f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,6 +13,9 @@ export class HandshakeClient extends NetworkClient { public async query(method: string, params: any): Promise { return this.callModuleReturn("query", { method, params }); } + public async queryDns(fqdn: string, type: string): Promise { + return this.callModuleReturn("queryDns", { fqdn, type }); + } } export const createClient = factory(HandshakeClient, MODULE);